6 GCC regressions, 2 new, with your patch on 2002-07-20T23:26:42Z.
Roger Sayle
roger@eyesopen.com
Sat Jul 20 21:19:00 GMT 2002
Hi Jan,
> There are 2 new failures, and 4 failures that existed before and after
> that patch; 0 failures have been fixed.
>
> The new failures are:
> mips-elf gcc.sum gcc.c-torture/execute/921029-1.c
> native gcc.sum gcc.dg/20010912-1.c
These look like they're yours. I'm guessing its a bug in cselib or
your new cprop code. In 20010912-1.c, the routine foo is miscompiled:
>> int foo (int x, char *y)
>> {
>> int a;
>> char *b = y;
>> a = bar (x, &y);
>> if (a)
>> {
>> y = b;
^
This assignment is incorrectly removed. The call to "bar" changes
the value of y, which isn't correctly noticed by cprop...
>> a = baz (x, &y);
>> }
>> if (a)
>> return a;
>>
>> baz (x, &y);
>> return 0;
>> }
I hope this helps.
Roger
--
More information about the Gcc-regression
mailing list