Message ID | 51A88319.9060203@arm.com |
---|---|
State | New |
Headers | show |
On May 31, 2013, at 4:01 AM, Marcus Shawcroft <marcus.shawcroft@arm.com> wrote: > Since http://gcc.gnu.org/ml/gcc-patches/2013-05/msg01475.html introduced a warning for bit field types with width greater than the contained enum width pr56184.C has failed for arm*-*-* due to the extra diagnostic emitted. This patch disables short-enums in the test case. > > OK? Ok.
diff --git a/gcc/testsuite/gcc.target/arm/pr56184.C b/gcc/testsuite/gcc.target/arm/pr56184.C index db92db1..d44c1b4 100644 --- a/gcc/testsuite/gcc.target/arm/pr56184.C +++ b/gcc/testsuite/gcc.target/arm/pr56184.C @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -mthumb -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a9 -fno-section-anchors" } */ +/* { dg-options "-fno-short-enums -O2 -mthumb -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a9 -fno-section-anchors" } */ typedef unsigned int size_t; __extension__ typedef int __intptr_t;