[Bug tree-optimization/37568] New: [4.4 regression] ICE returning a struct

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 17 23:45:00 GMT 2008


The following valid C++ testcase triggers an ICE on mainline when compiled
with "-fmudflap -O":

==================
struct A
{
  int i;
};

A foo()
{
  A a = { 1 };
  return a;
}

A a = foo();
==================

bug.cc: In function 'A foo()':
bug.cc:12: internal compiler error: in analyze_function, at ipa-reference.c:724
Please submit a full bug report, [etc.]

The regression appeared after 2008-09-12.


-- 
           Summary: [4.4 regression] ICE returning a struct
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: tree-optimization
        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=37568



More information about the Gcc-bugs mailing list