(INITIAL_ELIMINATION_OFFSET): Check frame_pointer_needed when eliminating
the arg pointer into the stack pointer. From-SVN: r7619
This commit is contained in:
parent
084b6d7b05
commit
bd4d60ce71
@ -784,7 +784,7 @@ enum reg_class
|
||||
(OFFSET) = -offset; \
|
||||
else \
|
||||
{ \
|
||||
if (! regs_ever_live[HARD_FRAME_POINTER_REGNUM]) \
|
||||
if (! frame_pointer_needed) \
|
||||
offset -= 16; \
|
||||
if (! volatile_func && (regs_ever_live[14] || saved_hard_reg)) \
|
||||
offset += 4; \
|
||||
|
Loading…
Reference in New Issue
Block a user