[Bug rtl-optimization/19580] [3.4/4.0 Regression] missed load/store motion

dberlin at dberlin dot org gcc-bugzilla@gcc.gnu.org
Sun Jan 23 19:07:00 GMT 2005


------- Additional Comments From dberlin at gcc dot gnu dot org  2005-01-23 19:07 -------
Subject: Re:  [3.4/4.0 Regression] missed load/store
 motion



On Sun, 23 Jan 2005, belyshev at depni dot sinp dot msu dot ru wrote:

>
> ------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-01-23 18:31 -------
> (In reply to comment #13)
>> What exactly are you expecting to be coalesced in this case, if I may ask?
>
> I am expecting all of D.1129 and D.1131 to be coalesced so this:
>
>    D.1129 = r[0] + r[2];
>    r[0] = D.1129;
>    D.1131 = D.1129 + r[1];
>    r[1] = D.1131;
>    r[2] = D.1131 + r[2];
>
> ...is turned into what it was (like in second example):
>
>    r[0] = r[0] + r[2];
>    r[1] = r[0] + r[1];
>    r[2] = r[1] + r[2];

It can't.
It believes they conflict right now.
.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19580



More information about the Gcc-bugs mailing list