------- Additional Comments From stephan dot bergmann at sun dot com 2005-01-31 09:09 ------- "I think you can get all the speed back by supplying -mbranch-cost=1 but I could be wrong."
No, adding -mbranch-cost=1 leads to only a very minor performance improvement. "Can you give the output of "gcc -v" for both GCC's?" 3.4.3> gcc -v Reading specs from /export/home/sb93797/gcc-3.4.3-inst/lib/gcc/i686-pc-linux-gnu/3.4.3/specs Configured with: ../gcc-3.4.3/configure --prefix=/export/home/sb93797/gcc-3.4.3-inst Thread model: posix gcc version 3.4.3 3.2.2> gcc -v Reading specs from /so/env/gcc_3.2.2_linux_libc2.20/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.2.2/specs Configured with: /export/home/obo/gcc-3.2.2/configure --prefix=/net/grande.germany/develop6/update/dev/gcc_3.2.2_linux_libc2.20 --with-as=/net/grande.germany/develop6/update/dev/gcc_3.2.2_linux_libc2.20/bin/as --with-ld=/net/grande.germany/develop6/update/dev/gcc_3.2.2_linux_libc2.20/bin/ld --enable-languages=c,c++ Thread model: posix gcc version 3.2.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19672