This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28254] New: ICE with invalid class$
- 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: 4 Jul 2006 23:24:07 -0000
- Subject: [Bug c++/28254] New: ICE with invalid class$
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following invalid testcase triggers an ICE since at least GCC 2.95.3:
=========================================
extern "Java"
{
struct A { typedef int class$; };
}
typedef void* jclass;
A* p = new A;
=========================================
bug.cc:8: internal compiler error: in write_java_integer_type_codes, at
cp/mangle.c:2898
Please submit a full bug report, [etc.]
--
Summary: ICE with invalid class$
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28254