[Nottingham] Compiler optimisation flags (gcc, g++)

Simon Huggins huggie at earth.li
Wed Nov 5 08:52:22 GMT 2003


Hi NLUG,

On Mon, Nov 03, 2003 at 03:12:55PM +0000, Martin wrote:
> Any pitfalls with using the following compiler optimisations for an 
> Athlon Palomino cpu system?

The usual pitfalls with optimisation I guess.  Measure it carefully
before and after to see if you're actually gaining anything.

It's interesting to note that -O3 can do damage to some code as Debian
Weekly News highlighted:
http://article.gmane.org/gmane.linux.gentoo.user/50924
http://article.gmane.org/gmane.linux.gentoo.user/50953
and
http://article.gmane.org/gmane.linux.gentoo.user/50973


Simon.

-- 
[ <sl> benj: mais il y a des thumbnails en 1600x1200 ;)                ]



More information about the Nottingham mailing list