avr.c (avr_can_eliminate): Allow elimination from ARG_POINTER_REGNUM to STACK_POINTER...
authorJoern Rennecke <joern.rennecke@embecosm.com>
Sat, 22 Feb 2014 20:24:08 +0000 (20:24 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Sat, 22 Feb 2014 20:24:08 +0000 (20:24 +0000)
commit8aa7d1fc653d4671aac118a625e402955bc1cd76
tree737403dd1709d7db77462b9d6f96915fcfc36a6a
parent0294729c100b91fcb69964d037e9dd55915ef670
avr.c (avr_can_eliminate): Allow elimination from ARG_POINTER_REGNUM to STACK_POINTER_REGNUM if...

        * config/avr/avr.c (avr_can_eliminate): Allow elimination from
        ARG_POINTER_REGNUM
        to STACK_POINTER_REGNUM if !frame_pointer_needed.
        * config/avr/avr.c (ELIMINABLE_REGS): Add elimination from
        ARG_POINTER_REGNUM to STACK_POINTER_REGNUM.

From-SVN: r208045
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/avr.h