diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2010-11-02 22:03:58 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2010-11-02 22:12:02 +0100 |
commit | be10a6b1321f250b1034c7d9d0a8ef18b296eef1 (patch) | |
tree | 9249025cbfbfbee4cc430d62b27f75301dd4dfde /recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99410.patch | |
parent | 93b28937ac67ba46d65f55637e42552e224aa7e2 (diff) | |
download | meta-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-r99410.patch')
-rw-r--r-- | recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99410.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99410.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99410.patch new file mode 100644 index 0000000000..f2a1c95621 --- /dev/null +++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99410.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | 2010-10-06 Julian Brown <julian@codesourcery.com> | ||
2 | |||
3 | gcc/testsuite/ | ||
4 | * gcc.dg/Warray-bounds-3.c: Add -fno-unroll-loops for ARM. | ||
5 | * gcc.dg/vect/vect.exp: Likewise, for all vect tests. | ||
6 | |||
7 | |||
8 | === modified file 'gcc/testsuite/gcc.dg/Warray-bounds-3.c' | ||
9 | Index: gcc-4.5/gcc/testsuite/gcc.dg/Warray-bounds-3.c | ||
10 | =================================================================== | ||
11 | --- gcc-4.5.orig/gcc/testsuite/gcc.dg/Warray-bounds-3.c | ||
12 | +++ gcc-4.5/gcc/testsuite/gcc.dg/Warray-bounds-3.c | ||
13 | @@ -1,5 +1,7 @@ | ||
14 | /* { dg-do compile } */ | ||
15 | /* { dg-options "-O2 -Warray-bounds" } */ | ||
16 | +/* { dg-options "-O2 -Warray-bounds -fno-unroll-loops" { target arm*-*-* } } */ | ||
17 | + | ||
18 | /* based on PR 31227 */ | ||
19 | |||
20 | typedef __SIZE_TYPE__ size_t; | ||
21 | Index: gcc-4.5/gcc/testsuite/gcc.dg/vect/vect.exp | ||
22 | =================================================================== | ||
23 | --- gcc-4.5.orig/gcc/testsuite/gcc.dg/vect/vect.exp | ||
24 | +++ gcc-4.5/gcc/testsuite/gcc.dg/vect/vect.exp | ||
25 | @@ -109,6 +109,7 @@ if [istarget "powerpc-*paired*"] { | ||
26 | # default to avoid loss of precision. We must pass -ffast-math to test | ||
27 | # vectorization of float operations. | ||
28 | lappend DEFAULT_VECTCFLAGS "-ffast-math" | ||
29 | + lappend DEFAULT_VECTCFLAGS "-fno-unroll-loops" | ||
30 | if [is-effective-target arm_neon_hw] { | ||
31 | set dg-do-what-default run | ||
32 | } else { | ||