[Bug c++/51248] New: [4.6/4.7 Regression] ICE with pointer to enum
reichelt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Nov 20 22:56:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51248
Bug #: 51248
Summary: [4.6/4.7 Regression] ICE with pointer to enum
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:
===================================
enum E { e = sizeof(const E*) };
===================================
bug.cc:1:31: internal compiler error: in finish_enum, at cp/decl.c:12266
More information about the Gcc-bugs
mailing list