From c58cc7d3796dcee6e93885c835ed04cb566abeb2 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 17 Mar 2011 21:41:22 +0100 Subject: move layer into meta-oe in preparation for future splits As per TSC decision Signed-off-by: Koen Kooi --- .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99410.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99410.patch (limited to 'meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99410.patch') diff --git a/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99410.patch b/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99410.patch new file mode 100644 index 0000000000..f2a1c95621 --- /dev/null +++ b/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99410.patch @@ -0,0 +1,32 @@ +2010-10-06 Julian Brown + + gcc/testsuite/ + * gcc.dg/Warray-bounds-3.c: Add -fno-unroll-loops for ARM. + * gcc.dg/vect/vect.exp: Likewise, for all vect tests. + + +=== modified file 'gcc/testsuite/gcc.dg/Warray-bounds-3.c' +Index: gcc-4.5/gcc/testsuite/gcc.dg/Warray-bounds-3.c +=================================================================== +--- gcc-4.5.orig/gcc/testsuite/gcc.dg/Warray-bounds-3.c ++++ gcc-4.5/gcc/testsuite/gcc.dg/Warray-bounds-3.c +@@ -1,5 +1,7 @@ + /* { dg-do compile } */ + /* { dg-options "-O2 -Warray-bounds" } */ ++/* { dg-options "-O2 -Warray-bounds -fno-unroll-loops" { target arm*-*-* } } */ ++ + /* based on PR 31227 */ + + typedef __SIZE_TYPE__ size_t; +Index: gcc-4.5/gcc/testsuite/gcc.dg/vect/vect.exp +=================================================================== +--- gcc-4.5.orig/gcc/testsuite/gcc.dg/vect/vect.exp ++++ gcc-4.5/gcc/testsuite/gcc.dg/vect/vect.exp +@@ -109,6 +109,7 @@ if [istarget "powerpc-*paired*"] { + # default to avoid loss of precision. We must pass -ffast-math to test + # vectorization of float operations. + lappend DEFAULT_VECTCFLAGS "-ffast-math" ++ lappend DEFAULT_VECTCFLAGS "-fno-unroll-loops" + if [is-effective-target arm_neon_hw] { + set dg-do-what-default run + } else { -- cgit 1.2.3-korg