This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Make sure copy-prop runs before forwprop, do not propagate ADDR_EXPRs to simple copy statements
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 15 Mar 2007 09:01:26 -0400
- Subject: Re: [PATCH] Make sure copy-prop runs before forwprop, do not propagate ADDR_EXPRs to simple copy statements
- References: <Pine.LNX.4.64.0703131611440.19680@zhemvz.fhfr.qr>
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.