Message ID | 000801cd81a5$4cc3a6d0$e64af470$@ye@arm.com |
---|---|
State | New |
Headers | show |
On 08/23/2012 08:05 PM, Joey Ye wrote: > Ssa-dom-thread-3.c has following code to trigger a warning on ARM. Add > -fno-short-enums to suppress it. > struct tree_base > { > enum tree_code code:16; > }; > > OK to trunk and 4.7? OK. Janis > 2012-08-15 Joey Ye <Joey.Ye@arm.com> > > * gcc.dg/tree-ssa/ssa-dom-thread-3.c: Add -fno-short-enums. > > Index: testsuite/gcc.dg/tree-ssa/ssa-dom-thread-3.c > =================================================================== > --- testsuite/gcc.dg/tree-ssa/ssa-dom-thread-3.c (revision 190337) > +++ testsuite/gcc.dg/tree-ssa/ssa-dom-thread-3.c (working copy) > @@ -1,5 +1,5 @@ > /* { dg-do compile } */ > -/* { dg-options "-O2 -fdump-tree-dom1-details" } */ > +/* { dg-options "-O2 -fdump-tree-dom1-details -fno-short-enums" } */ > extern void abort (void) __attribute__ ((__noreturn__)); > union tree_node; > typedef union tree_node *tree; > > > > > > >
Index: testsuite/gcc.dg/tree-ssa/ssa-dom-thread-3.c =================================================================== --- testsuite/gcc.dg/tree-ssa/ssa-dom-thread-3.c (revision 190337) +++ testsuite/gcc.dg/tree-ssa/ssa-dom-thread-3.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-dom1-details" } */ +/* { dg-options "-O2 -fdump-tree-dom1-details -fno-short-enums" } */ extern void abort (void) __attribute__ ((__noreturn__)); union tree_node; typedef union tree_node *tree;