* explow.c: (copy_all_regs): Don't copy HARD_FRAME_POINTER_REGNUM.

From-SVN: r5454
This commit is contained in:
Doug Evans 1993-09-24 19:39:56 +00:00
parent ac6f08b075
commit 11c50c5efd
1 changed files with 5 additions and 1 deletions

View File

@ -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)