Re: Fragile test case nsdmi-union5.C

2014-04-16 Thread Richard Biener
On Wed, Apr 16, 2014 at 10:24 AM, wrote: > > >> On Apr 16, 2014, at 12:42 AM, "Joey Ye" wrote: >> >> Ran into a fragile test case: >> FAIL: g+.dg/cpp0x/nsdmi-union5.C -std=c+11 scan-assembler 7 >> >> $ cat nsdmi-union5.C >> // PR c++/58701 >> // { dg-require-effective-target c++11 } >> // { dg-f

Re: Fragile test case nsdmi-union5.C

2014-04-16 Thread pinskia
> On Apr 16, 2014, at 12:42 AM, "Joey Ye" wrote: > > Ran into a fragile test case: > FAIL: g+.dg/cpp0x/nsdmi-union5.C -std=c+11 scan-assembler 7 > > $ cat nsdmi-union5.C > // PR c++/58701 > // { dg-require-effective-target c++11 } > // { dg-final { scan-assembler "7" } } > > static union > {

Fragile test case nsdmi-union5.C

2014-04-16 Thread Joey Ye
Ran into a fragile test case: FAIL: g+.dg/cpp0x/nsdmi-union5.C -std=c+11 scan-assembler 7 $ cat nsdmi-union5.C // PR c++/58701 // { dg-require-effective-target c++11 } // { dg-final { scan-assembler "7" } } static union { union { int i = 7; }; }; Two issues make it very fragile. It onl