This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: optimization issue about -O2 and -Os
Phil Edwards <phil@codesourcery.com> writes:
> On Fri, Apr 30, 2004 at 06:21:26PM +0100, Dave Korn wrote:
> >
> > Hmm, maybe it would be worthwhile to invent -f options for all these
> > ad-hoc tests on the optimize variables, so that the -O options then *did*
> > become shorthand for flag sets, and the suggestion I already made for
> > localising the failure with a given -O setting would actually work?
>
> We need fewer -f options, really, not more of them.
>
> Or to put it another way: if an optimization pass is buggy, it doesn't
> deserve to have an -f option yet.
[snip]
>From the standpoint of a user, if an optimization pass is buggy, it
needs an -fno option.