This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Apple's -fast option for gcc
> -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