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

Martin martin at ml1.co.uk
Mon Nov 3 15:13:08 GMT 2003


...Before I lose hours with cryptic happenings that everyone else 
already knows all about ...

Any pitfalls with using the following compiler optimisations for an 
Athlon Palomino cpu system?


echo $CFLAGS
-march=athlon-xp -O3 -fexpensive-optimizations -funroll-loops 
-fomit-frame-pointer -fschedule-insns2 -minline-all-stringops 
-mfancy-math-387 -mfp-ret-in-387 -m3dnow -msse -mfpmath=sse -mmmx 
-malign-double -falign-functions=4 -preferred-stack-boundary=4 
-fforce-addr -pipe

and CXXFLAGS=CFLAGS


Are programmers silly enough to use computed goto or other sillies that 
will cause problems with the above optimisations?

Regards,
Martin


-- 
----------------
Martin Lomas
martin at ml1.co.uk
----------------




More information about the Nottingham mailing list