diff options
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99406.patch')
| -rw-r--r-- | recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99406.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99406.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99406.patch new file mode 100644 index 0000000000..54473fa234 --- /dev/null +++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99406.patch | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | 2010-09-28 Jie Zhang <jie@codesourcery.com> | ||
| 2 | |||
| 3 | Backport from mainline: | ||
| 4 | |||
| 5 | gcc/testsuite/ | ||
| 6 | 2010-09-28 Jie Zhang <jie@codesourcery.com> | ||
| 7 | * gcc.dg/Wcxx-compat-12.c: Add -fno-short-enums. | ||
| 8 | |||
| 9 | === modified file 'gcc/testsuite/gcc.dg/Wcxx-compat-12.c' | ||
| 10 | Index: gcc-4.5/gcc/testsuite/gcc.dg/Wcxx-compat-12.c | ||
| 11 | =================================================================== | ||
| 12 | --- gcc-4.5.orig/gcc/testsuite/gcc.dg/Wcxx-compat-12.c | ||
| 13 | +++ gcc-4.5/gcc/testsuite/gcc.dg/Wcxx-compat-12.c | ||
| 14 | @@ -1,5 +1,5 @@ | ||
| 15 | /* { dg-do compile } */ | ||
| 16 | -/* { dg-options "-Wc++-compat" } */ | ||
| 17 | +/* { dg-options "-fno-short-enums -Wc++-compat" } */ | ||
| 18 | |||
| 19 | enum E { A }; | ||
| 20 | |||
