For current mainline and Apple 3.3/4.0, the top pass in the profile is scheduling : 14.99 (42%) usr 4.32 (75%) sys 19.32 (46%) wall
Note that at -O0, instead, it is global alloc : 1.06 (30%) usr 0.03 ( 5%) sys 1.09 (26%) wall but I doubt we can do much about it. -- Summary: scheduling takes 40% or more time Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gcc dot gnu dot org GCC host triplet: powerpc-apple-darwin8.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24853