The tree memory partitioning phase is spending 430 seconds of a 490 second compile which seems a little excessive. The test case is a slightly modified version of another test case within bugzilla (I forget which one) but with some syntax warning cleaned up. I'm using GCC mainline revision 127398. I'll attach the test case in the next post. The relevant parts of the -ftime-report output looks like:
gcc -O1 -S -ftime-report syntax-case.i Execution times (seconds) [snip] tree memory partitioning: 433.26 (88%) usr 0.03 ( 1%) sys 433.29 (87%) wall 0 kB ( 0%) ggc [snip] TOTAL : 491.34 4.19 495.53 199506 kB -- Summary: Tree memory partitioning is spending 430 seconds of a 490 second compile. Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bergner at gcc dot gnu dot org GCC build triplet: powerpc64-linux GCC host triplet: powerpc64-linux GCC target triplet: powerpc64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33237