[Bug c++/19734] New: [3.4/4.0 regression] Another ICE on invalid destructor call
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jan 31 23:22:00 GMT 2005
The following invalid code snippet causes an ICE since gcc 3.4.0:
==================================
struct A;
void foo() { A::~A(); }
==================================
Mainline's error message reads:
bug.cc: In function 'void foo()':
bug.cc:2: internal compiler error: vector VEC(tree) index domain error, in
cp_parser_lookup_name at cp/parser.c:14160
Please submit a full bug report, [etc.]
--
Summary: [3.4/4.0 regression] Another ICE on invalid destructor
call
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, monitored
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=19734
More information about the Gcc-bugs
mailing list