On Thursday September 18 2008 01:56:49 am Mordae wrote: > On Thursday 18 September 2008 05:45:54 Robert Connolly wrote: > > While upgrading my desktop I added a couple new things to gcc's specs: > > *cc1_options: > > %{O3:%eDon't use -O3} %{march=i486:;:%{march=*:%eDon't set -march}} > > This causes -O3, and -march={anything but i486}, to stop gcc, because I > > don't want to use buggy gcc optimizations. > > Hi, no -O3 is nice, but i486? It made like 15% on Xeon... that's a lot. > > Can you point me to some info on these optimization bugs?
I got glibc test errors from -O3 and -mtune=i686. I shouldn't say they're buggy options, but gcc constantly has new optimization bugs as optimizations get better. While trying to find patches to the glibc test errors I was often lead to math bugs in gcc, some of which have not been fixed in the gcc42 branch. Packages that depend on math precision don't necessarily test it very well in their test suite, so I think it's generally safer to use i486 and -O2. robert
pgpuK0oD08fRH.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page