Apple's -fast option for gcc
Douglas Kilpatrick
kilpatds@oppositelock.org
Wed Sep 17 18:22:00 GMT 2003
> -O0 can debug it, -O1 fast, -O2 good, -Os small, -O3 big, maybe
> faster.
As a developer, what I would generally prefer is
-O0 fast compile, completely debuggable
-O1 slower compile, better code
-O2 slow compile, good code.
-ON (N>2) Really Slow comple, increasingly good code.
And honestly, I'd prefer separating Os (and O3) into a different axis.
--fsmall-code or something to counteract -finline-functions.
And while I'm on the subject, I tend to use -O2 during development since
a couple of warnings don't happen otherwise, where discussions here in
the past have assumed that no one does that.
Doug
--
kilpatds@oppositelock.org
More information about the Gcc
mailing list