[Bug c++/16707] New: [3.4/3.5 regression] ICE with using
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jul 26 02:00:00 GMT 2004
Since gcc 3.4.0 the compiler crashes on the following invalid code snippet:
==========================
int i;
using N::i;
==========================
The error message from mainline is:
bug.cc:2: error: `N' has not been declared
bug.cc:2: error: expected nested-name-specifier before "i"
bug.cc:2: internal compiler error: in push_using_decl, at cp/name-lookup.c:1914
Please submit a full bug report, [etc.]
--
Summary: [3.4/3.5 regression] ICE with using
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery
Severity: critical
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=16707
More information about the Gcc-bugs
mailing list