Patch to fix gcc.c-torture/compile/20010102-1.c on IA64 HP-UX

Jeff Law law@redhat.com
Tue Sep 16 21:31:00 GMT 2008


Steve Ellcey wrote:
> On Tue, 2008-09-16 at 14:15 -0600, Jeff Law wrote:
>
>   
>> But this shouldn't be necessary.  REG_POINTER is set within the RTX for 
>> the original pseudo and alter_reg (via changing REGNO) preserves the 
>> setting for use post-reload, even though we're looking at a hard register.
>>
>> My recommendation for Steve is the same.  First ensure that REG_POINTER 
>> is set on the appropriate REG within the insn when the insn is created, 
>> then go forward and pinpoint where it disappears as the disappearance is 
>> a bug.
>> Jeff
>>     
>
> Well, it disappears during the rtx register renaming phase and
> I thought I was fixing it by preserving it during register renaming.
> This is where it disappears.   If I add -fno-rename-registers the
> problem goes away.
>
>   
I haven't followed the whole thread -- did someone object to fixing this 
in regrename?  ISTM that if that's what you fixed that you were dead-on 
correct.

Jeff




More information about the Gcc-patches mailing list