This is number #1 ICE when building SPEC with -fwhopr. I'll attach a sample testcase once I reduced it.
-- Summary: ICE in cgraph_mark_functions_to_output, at cgraphunit.c:1137 with -fwhopr Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: lto Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41734