This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55325] [4.8 Regression]: g++.dg/cpp0x/constexpr-complex.C excess errors
- From: "3dw4rd at verizon dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 Nov 2012 20:20:27 +0000
- Subject: [Bug c++/55325] [4.8 Regression]: g++.dg/cpp0x/constexpr-complex.C excess errors
- Auto-submitted: auto-generated
- References: <bug-55325-4@http.gcc.gnu.org/bugzilla/>
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.