avr.c (avr_hard_regno_call_part_clobbered): Use LAST_CALLEE_SAVED_REG instead of...
authorPitchumani Sivanupandi <pitchumani.s@atmel.com>
Mon, 11 May 2015 17:16:43 +0000 (17:16 +0000)
committerDenis Chertykov <denisc@gcc.gnu.org>
Mon, 11 May 2015 17:16:43 +0000 (20:16 +0300)
commit4e2c881f7154ae598af1d8ef7084744b77c11181
tree6e17a10f6c15d0f8e5929efd7ae672fd56ee22c9
parentbdfdc7da5c5221f0c06a9ea69057389a2d623318
avr.c (avr_hard_regno_call_part_clobbered): Use LAST_CALLEE_SAVED_REG instead of hard-coded register number.

* config/avr/avr.c (avr_hard_regno_call_part_clobbered): Use
LAST_CALLEE_SAVED_REG instead of hard-coded register number.
(Last callee saved reg is different for AVR_TINY architecture)

From-SVN: r223009
gcc/ChangeLog
gcc/config/avr/avr.c