[CLUE-Tech] Curious about GCC -O3

Matt Gushee mgushee at havenrock.com
Thu Apr 25 09:59:17 MDT 2002


I have a question about the GCC optimization flags. I remember that
as recently as a couple of years ago, 'gcc -O3' was supposed to be
be buggy, thus -O2 was the most common setting on most or all Linux
distros. But I've gotten the impression more recently that -O3 is now
safe to use in most cases; at any rate, I now compile most applications
with -O3, and have not found it to cause any problems. So why is -O2
still the default?

-- 
Matt Gushee
Englewood, Colorado, USA
mgushee at havenrock.com
http://www.havenrock.com/



More information about the clue-tech mailing list