[Bug c++/28261] New: [4.0/4.1/4.2 regression] ICE with enum in constructor definition
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jul 5 00:20:00 GMT 2006
The following invalid testcase triggers an ICE since GCC 4.0.0:
=========================================
struct A {};
A::A (enum { e }) {}
=========================================
bug.cc:3: internal compiler error: in push_class_level_binding, at
cp/name-lookup.c:2599
Please submit a full bug report, [etc.]
--
Summary: [4.0/4.1/4.2 regression] ICE with enum in constructor
definition
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28261
More information about the Gcc-bugs
mailing list