Here's a case where the C++ front-end is still slow, despite the great improvements in GCC 4. This is preprocessed with Apple's 4.x compiler.
From, 'g++ IC.ii -ftime-report -O0 -o /dev/null -S', I get: parser : 1.84 (27%) usr 1.48 (29%) sys 3.22 (27%) wall name lookup : 1.47 (22%) usr 2.59 (51%) sys 4.06 (34%) wall ... TOTAL : 6.73 5.04 11.88 On a somewhat scary note, compiling without -ftime-report speeds up the compilation from 0:11.95 to 0:04.39. This leads me to believe that the -ftime-report numbers can't be trusted very much. More testcases are always good right? -Chris -- Summary: C++ front-end can still be sped up Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sabre at nondot dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24208