This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Apple's -fast option for gcc
On Wed, Sep 17, 2003 at 02:16:40PM -0400, Douglas Kilpatrick wrote:
>
> > -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.
It seems as if you wouldn't really want a slow compile. Its just the
side effect of good code. So it boils down to
-O0 fast compile, completely debuggable
-O1 better code
-O2 good code.
-ON increasingly good code.
Bob Rossi