The following valid code snippet triggers an ICE when compiled with "-O2":
=================== struct A {}; struct A foo() { return foo(); } void bar() { foo(); } =================== bug.c:11:1: internal compiler error: in ipcp_analyze_node, at ipa-cp.c:183 Please submit a full bug report, [etc.] The regression appeared between 2009-05-09 and 2009-05-22. -- Summary: [4.5 Regression] ICE with recursion Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: middle-end 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=40556