PR middle-end/20225 introduced a regression on the following testcase at -O2.
void fn1 (void *); void fn2 (void *); void foo (void); void bar (void); extern inline void * baz (void) { return 0; } void foo (void) { fn1 (baz ()); fn2 (baz ()); } void bar (void) { fn1 (baz ()); fn2 (baz); } -- Summary: [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: critical Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20635