This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13578] New: Internal compiler error
- From: "mahall at ncsa dot uiuc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jan 2004 03:31:51 -0000
- Subject: [Bug c++/13578] New: Internal compiler error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The test code causes g++3.3.1 to dump core. The code is invalid, and produces
a valid error when compiled under g++2.95
> g++295 testfault.C
testfault.C: In method `int CrashingClass<XX>::crash(int) const':
testfault.C:9: non-template type `key_compare' used as a template
testfault.C:9: parse error before `;'
> g++311 testfault.C
testfault.C: In member function `int CrashingClass<XX>::crash(int) const':
testfault.C:9: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: Internal compiler error
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mahall at ncsa dot uiuc dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13578