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

Steve Ellcey sje@cup.hp.com
Tue Sep 16 20:49:00 GMT 2008


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.

Steve Ellcey
sje@cup.hp.com



More information about the Gcc-patches mailing list