------- Additional Comments From andre dot maute at gmx dot de 2004-12-11 03:28 ------- now with --disable-checking in the configure parameters for gcc-4.0 > g++-4.0-20041205-1-dc -v Reading specs from /opt/gcc-4.0-20041205-1-dc/lib/gcc/i686-pc-linux-gnu/4.0.0/specs Configured with: ../gcc-4.0-20041205/configure --prefix=/opt/gcc-4.0-20041205-1-dc --enable-shared --enable-languages=c,c++ --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-nls --program-suffix=-4.0-20041205-1-dc --with-arch=pentium3 --disable-checking Thread model: posix gcc version 4.0.0 20041205 (experimental) > time g++-4.0-20041205-1-dc -c -O3 -D __NDEBUG__ compiletimetest2.cc real 0m18.300s user 0m18.050s sys 0m0.250s > time g++-4.0-20041205-1-dc -c -O3 -D __DEBUG__ compiletimetest2.cc real 0m21.368s user 0m20.960s sys 0m0.440s this looks much better but not as good as with g++-3.3.5
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16613