This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/28254] New: ICE with invalid class$


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]