This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Enable fmove-loop-invariants by default
On 2/26/06, Mark Mitchell <mark@codesourcery.com> wrote:
> Daniel Jacobowitz wrote:
> > On Sun, Feb 26, 2006 at 07:39:25PM +0100, Zdenek Dvorak wrote:
> >> I think it is ok to apply this one for now (my one first needs to be
> >> split into several smaller parts, as I lost control over myself and
> >> removed too much at once :-) I will send some trivial followup (for
> >> removal -fstrength-reduce and -fprefetch-loop-arrays-rtl). I think we
> >> should then wait for a few days to make sure that we can proceed with
> >> the removal of the rest of the loop optimizer without causing some major
> >> disaster.
> >
> > Is there a general policy on removing -f options, versus turning them
> > into NOPs? There's a _lot_ of code lying around that references
> > -fstrength-reduce or -fno-strength-reduce. I don't know about the
> > others like -floop-optimize, but I wouldn't be surprised.
>
> Yes, I think we have a general policy of leaving such options around as
> no-ops, and we should certainly do so here.
We should at least deprecate them (and maybe warn, if not -Werror) so we
can get rid of them in 4.3.
Richard.