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