This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR33340, SSA corruption due to FRE


On Sat, 8 Sep 2007, Daniel Berlin wrote:

> >
> >   tmp_4 = a_2(ab);
> >   store = tmp_4;
> >   ...
> >   x_2 = store;
> >
> > with the patch we replace the load by tmp_4, but if we value number tmp_4
> > as a_2(ab) we would try to replace it by a_2(ab) instead and thus reject it.
> >
> > ?
> You can make it replace it with tmp_4 as well.
> It will generate a value handle as a leader for the value itself, and
> just tell it not to add a_2 as an expression that represents it.  It
> should then simply choose tmp_4.

Can you take care of this PR then, plase?

Thanks,
Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]