c++/1687: Extreme compile time regression from 2.95.2

Wolfgang Bangerth bangerth@ticam.utexas.edu
Sun Nov 10 13:47:00 GMT 2002

you had a patch for this problem, as mentioned in the audit. Do you know 
whether it was applied? I cannot find it in the ChangeLogs.

At any rate, I get reasonable compile times with -O2:
tmp/g> time /home/bangerth/bin/gcc-3.3x-pre/bin/gcc -O2 -c x.cc
real    0m0.168s
user    0m0.150s
sys     0m0.010s
tmp/g> time /home/bangerth/bin/gcc-3.3x-pre/bin/gcc -O2 -c x.cc
real    0m0.261s
user    0m0.150s
sys     0m0.000s

However, at -O3 it still takes forever, now with both C and C++, which 
seems a further regression (since previously this held only for C++). I 
don't trust this for various reasons, so maybe someone can confirm this 
with -O3?


Wolfgang Bangerth              email:           bangerth@ticam.utexas.edu
                               www: http://www.ticam.utexas.edu/~bangerth

More information about the Gcc-bugs mailing list