[PATCH] Make sure copy-prop runs before forwprop, do not propagate ADDR_EXPRs to simple copy statements

Diego Novillo dnovillo@redhat.com
Thu Mar 15 13:50:00 GMT 2007


Richard Guenther wrote on 03/15/07 08:56:

> where it would propagate &Foo.i[i] into all rhs.  This is bad as it
> causes interesting optimization oscillations between this and the
> previous form.

"interesting optimization oscillations"?  I have no idea what you are
trying to fix here.  The PR log wasn't too illuminating either.


> Bootstrapped and tested on x86_64-unknown-linux-gnu.  I'll apply this
> to mainline after giving people some time to comment.

Hmm, doesn't seem obvious to me.  But I think I'm missing something.



More information about the Gcc-patches mailing list