Message ID | 4CA1583F.1080402@codesourcery.com |
---|---|
State | New |
Headers | show |
On 9/27/2010 7:51 PM, Jie Zhang wrote: > Adding -fno-short-enums in gcc.dg/Wcxx-compat-12.c would silence these > warnings and make it test what intended. OK.
On 09/28/2010 10:47 PM, Mark Mitchell wrote: > On 9/27/2010 7:51 PM, Jie Zhang wrote: > >> Adding -fno-short-enums in gcc.dg/Wcxx-compat-12.c would silence these >> warnings and make it test what intended. > > OK. > Committed on trunk. Thanks.
* gcc.dg/Wcxx-compat-12.c: Add -fno-short-enums. Index: gcc.dg/Wcxx-compat-12.c =================================================================== --- gcc.dg/Wcxx-compat-12.c (revision 164675) +++ gcc.dg/Wcxx-compat-12.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-Wc++-compat" } */ +/* { dg-options "-fno-short-enums -Wc++-compat" } */ enum E { A };