* explow.c: (copy_all_regs): Don't copy HARD_FRAME_POINTER_REGNUM.
From-SVN: r5454
This commit is contained in:
parent
ac6f08b075
commit
11c50c5efd
|
@ -304,7 +304,11 @@ copy_all_regs (x)
|
|||
{
|
||||
if (GET_CODE (x) == REG)
|
||||
{
|
||||
if (REGNO (x) != FRAME_POINTER_REGNUM)
|
||||
if (REGNO (x) != FRAME_POINTER_REGNUM
|
||||
#if HARD_FRAME_POINTER_REGNUM != FRAME_POINTER_REGNUM
|
||||
&& REGNO (x) != HARD_FRAME_POINTER_REGNUM
|
||||
#endif
|
||||
)
|
||||
x = copy_to_reg (x);
|
||||
}
|
||||
else if (GET_CODE (x) == MEM)
|
||||
|
|
Loading…
Reference in New Issue