[Bug c++/51400] New: [c++0x] ICE with constexpr and attribute noreturn
reichelt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Dec 4 00:23:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51400
Bug #: 51400
Summary: [c++0x] ICE with constexpr and attribute noreturn
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: reichelt@gcc.gnu.org
The following valid(?) code snippet triggers an ICE since GCC 4.6.0:
=======================================================
constexpr int (*f)() __attribute__((noreturn)) = 0;
=======================================================
bug.cc:1:46: internal compiler error: in start_decl, at cp/decl.c:4515
Please submit a full bug report, [etc.]
More information about the Gcc-bugs
mailing list