[Bug target/20375] New: [4.0/4.1 Regression] C++ ICE in assign_parm_find_entry_rtl

jsm28 at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Mar 8 01:50:00 GMT 2005


The following C++ testcase, compiled on ia64-hp-hpux11.23 with -mlp64, yields
the following ICE (a regression in 4.0/4.1 relative to 3.4).  This seems
to be target-specific.

t.cc: In member function 'virtual void*& c::f(float, u, ...)':
t.cc:9: internal compiler error: in assign_parm_find_entry_rtl, at function.c:2329
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

union u
{
  void* m[7];
};

struct c
{
  c();
  virtual void*& f(float, u, ...) {
    throw 0;
  }
};

c::c() {}

-- 
           Summary: [4.0/4.1 Regression] C++ ICE in
                    assign_parm_find_entry_rtl
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: ia64-*-hpux11.*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20375



More information about the Gcc-bugs mailing list