diff options
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 { | ||
