summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99407.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2010-11-02 22:03:58 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2010-11-02 22:12:02 +0100
commitbe10a6b1321f250b1034c7d9d0a8ef18b296eef1 (patch)
tree9249025cbfbfbee4cc430d62b27f75301dd4dfde /recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99407.patch
parent93b28937ac67ba46d65f55637e42552e224aa7e2 (diff)
downloadmeta-openembedded-be10a6b1321f250b1034c7d9d0a8ef18b296eef1.tar.gz
angstrom-layers: meta-openembedded: replace poky gcc 4.5 sources with OE ones
This needs further investigation, but for now we can get the tested sources into the poky gcc harness Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99407.patch')
-rw-r--r--recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99407.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99407.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99407.patch
new file mode 100644
index 0000000000..80f4246ed2
--- /dev/null
+++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99407.patch
@@ -0,0 +1,33 @@
12010-09-30 Jie Zhang <jie@codesourcery.com>
2
3 gcc/testsuite/
4
5 * c-c++-common/uninit-17.c: Adjust warning message.
6
7 Backport from mainline:
8
9 2010-07-30 Xinliang David Li <davidxl@google.com>
10 PR tree-optimization/45121
11 * c-c++-common/uninit-17.c: Add -fno-ivops option.
12
13=== modified file 'gcc/testsuite/c-c++-common/uninit-17.c'
14Index: gcc-4.5/gcc/testsuite/c-c++-common/uninit-17.c
15===================================================================
16--- gcc-4.5.orig/gcc/testsuite/c-c++-common/uninit-17.c
17+++ gcc-4.5/gcc/testsuite/c-c++-common/uninit-17.c
18@@ -1,5 +1,5 @@
19 /* { dg-do compile } */
20-/* { dg-options "-O2 -Wuninitialized" } */
21+/* { dg-options "-O2 -Wuninitialized -fno-ivopts" } */
22
23 inline int foo(int x)
24 {
25@@ -9,7 +9,7 @@ static void bar(int a, int *ptr)
26 {
27 do
28 {
29- int b; /* { dg-warning "is used uninitialized" } */
30+ int b; /* { dg-warning "may be used uninitialized" } */
31 if (b < 40) {
32 ptr[0] = b;
33 }