This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Loop optimization bug with Ada front end on PPC (and probably Alpha)
Richard Henderson wrote:
>On Tue, Nov 27, 2001 at 01:52:41PM -0600, Corey Minyard wrote:
>
>>Unforunately, this causes my original problem to come back. I'm nervous
>>about this patch, too, I don't understand it at all.
>>
>
>This original problem is the Ada test case you forwarded,
>or something else?
>
yes, the original Ada testcase.
>>I tried moving this test to doloop_modify_runtime in doloop.c and adding
>>the increment to the "diff" rtx in this situation, and it works in my
>>simple testcase and didn't cause the problem in the regression.
>>
>
>Hum. Perhaps you're right -- putting this change in doloop
>will limit liability, so to speak. I'll move my change.
>
Are you moving back to the original loop test? I think the original
test you had didn't work because it wasn't the doloop case, but if you
put it in the doloop code it should work properly.
Bummer, my bootstrap just segv-ed. Oh well, a little more work, some
variable was probably NULL.
-Corey