compiler slowdown in 4.3 development

Bruno Haible bruno@clisp.org
Mon Mar 3 22:24:00 GMT 2008


Hi,

Here's a case of a function whose compilation with -O2 -g (the default with
autoconf) on Linux/x86 has slowed down by 67% since the 4.2.2 release.

$ time gcc -c -O2 -g -Wall sha512.c

Measured user time.

gcc 3.2.2           42.2 sec
gcc 3.3.6           71 sec
gcc 3.4.4           29.0 sec
gcc 4.0.4           24.5 sec
gcc 4.1.2           12.6 sec
gcc 4.2.2           10.7 sec
gcc 4.3-20080215    17.9 sec

Bruno

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sha512.c
Type: text/x-csrc
Size: 11806 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20080303/5095ff83/attachment.bin>


More information about the Gcc mailing list