This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52599] New: illegal constexpr constructor declaration make g++ assert instead of returning an error
- From: "mickael.guene at st dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Mar 2012 10:12:08 +0000
- Subject: [Bug c++/52599] New: illegal constexpr constructor declaration make g++ assert instead of returning an error
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52599
Bug #: 52599
Summary: illegal constexpr constructor declaration make g++
assert instead of returning an error
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: mickael.guene@st.com
Created attachment 26902
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26902
This test make g++ to assert
when compiling attach file with 'g++ -std=c++0x test.cpp' compiler assert in
build_constexpr_constructor_member_initializers function from cp/semantics.c.
g++ should instead return an error since construct is illegal.