[Bug c++/19397] New: [3.4 regression] ICE with invalid typedef
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jan 12 13:13:00 GMT 2005
The following invalid code causes an ICE with gcc 3.4.x
(3.3.x and mainline are not affected):
================================
template<typename> struct A
{
typedef int ::template;
};
================================
bug.cc:3: error: expected id-expression before "template"
bug.cc:3: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]
--
Summary: [3.4 regression] ICE with invalid typedef
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19397
More information about the Gcc-bugs
mailing list