This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16707] New: [3.4/3.5 regression] ICE with using
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jul 2004 02:00:31 -0000
- Subject: [Bug c++/16707] New: [3.4/3.5 regression] ICE with using
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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