This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]