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 violation of self-assignment check in GCC source [1/4]


On Thu, Jul 22, 2010 at 5:49 AM, Diego Novillo <dnovillo@google.com> wrote:
> On 10-07-21 21:28 , Le-Chun Wu wrote:
>
>> Index: gcc/omega.c
>> ===================================================================
>> --- gcc/omega.c (revision 162385)
>> +++ gcc/omega.c (working copy)
>> @@ -2213,7 +2213,9 @@ omega_eliminate_redundant (omega_pb pb,
>> ? ? ? ? ? ? ? ? ? ? ? ? ? || pb->geqs[e3].color == omega_red)
>> ? ? ? ? ? ? ? ? ? ? ? ? goto nextE3;
>>
>> - ? ? ? ? ? ? ? ? ? ? alpha3 = alpha3;
>> + ? ? ? ? ? ? ? ? ? ? ?/* Comment out dubiout self-assignment. ?*/
>> + ? ? ? ? ? ? ? ? ? ? /* alpha3 = alpha3; ?*/
>> +
>> ? ? ? ? ? ? ? ? ? ? ? /* verify alpha1*v1+alpha2*v2 = alpha3*v3 */
>> ? ? ? ? ? ? ? ? ? ? ? for (k = pb->num_vars; k>= 1; k--)
>> ? ? ? ? ? ? ? ? ? ? ? ? if (alpha3 * pb->geqs[e3].coef[k]
>
> Let's just remove it. ?OK with that change.

Will do. Thanks,

Le-chun

>
>
> Diego.
>

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