[Bug c++/17278] [4.0 Regression] 24% C++ compile-time regression in comparison with 3.4.1 at -O1 optimization level
kgardas at objectsecurity dot com
gcc-bugzilla@gcc.gnu.org
Tue Oct 26 06:45:00 GMT 2004
------- Additional Comments From kgardas at objectsecurity dot com 2004-10-26 06:45 -------
Subject: Re: [4.0 Regression] 24% C++ compile-time regression
in comparison with 3.4.1 at -O1 optimization level
Hi,
I have tested -fno-threadsafe-statics now and it does not affect so much,
IMHO:
$ c++ -I../include -time -O0 -Wall -DPIC -fPIC -c ir.cc -o ir.pic.o
# cc1plus 68.57 2.26
# as 5.92 0.27
$ c++ -I../include -fno-threadsafe-statics -time -O0 -Wall -DPIC -fPIC -c ir.cc -o ir.pic.o
# cc1plus 67.94 2.04
# as 5.86 0.26
Cheers,
Karel
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17278
More information about the Gcc-bugs
mailing list