[Bug c++/60768] Excessive C++ compile time with -O3

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Sun Apr 6 17:18:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60768

--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
>I'll try --enable-checking=release and see if the times are reasonable.

For trunk 20140406 I got

real    0m47.473s
user    0m46.415s
sys    0m0.526s

which seems pretty reasonable to me. 

Output from -ftime-report shows

 phase opt and generate  :  45.37 (99%) usr   0.48 (54%) sys  46.34 (98%) wall 
136380 kB (60%) ggc
 df reaching defs        :   5.77 (13%) usr   0.02 ( 2%) sys   5.85 (12%) wall 
     0 kB ( 0%) ggc
 df live regs            :   4.41 (10%) usr   0.00 ( 0%) sys   4.47 ( 9%) wall 
     0 kB ( 0%) ggc
 df live&initialized regs:   5.76 (13%) usr   0.02 ( 2%) sys   5.79 (12%) wall 
     0 kB ( 0%) ggc

I am not sure if further tuning of these routines is required or not.



More information about the Gcc-bugs mailing list