[Bug c++/55325] [4.8 Regression]: g++.dg/cpp0x/constexpr-complex.C excess errors

3dw4rd at verizon dot net gcc-bugzilla@gcc.gnu.org
Wed Nov 14 20:21:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55325

--- Comment #4 from Ed Smith-Rowland <3dw4rd at verizon dot net> 2012-11-14 20:20:27 UTC ---
OK, g++.dg/cpp0x/constexpr-complex.C will fail with the patch to control GNU
literal parsing.  i.e.  this behavior in intended.

The purpose of the test is to check that constexpr works with C99 complex
literals.  So we could fix the test in either one of two equivalent ways:

Invoke with gnu++0x:
// { dg-options -std=gnu++0x }

Invoke with new flag:
// { dg-options -std=c++0x -fext-numeric-literals }

Any preference on which one?

I'll look at the other fails.



More information about the Gcc-bugs mailing list