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: unassig...@gcc.gnu.org ReportedBy: reich...@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