re PR rtl-optimization/58545 (error: unable to find a register to spill in class...
authorJoern Rennecke <joern.rennecke@embecosm.com>
Wed, 30 Oct 2013 23:55:46 +0000 (23:55 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Wed, 30 Oct 2013 23:55:46 +0000 (23:55 +0000)
commite27a6430c798dd3dbbb0683287cbd4fb134ec362
tree5c9f15cee17124d1c53762cc0c992f3ca37b151b
parentfbdec79172bf97c510d5c436732e120e0f497c25
re PR rtl-optimization/58545 (error: unable to find a register to spill in class 'POINTER_REGS')

gcc:
        PR other/58545
        * reload1.c (update_eliminables_and_spill): New function, broken
        out of reload.
        (reload): Use it.  Check for frame size change after frame
        size alignment, and call update_eliminables_and_spill first
        if continue-ing.
gcc/testsuite:
        PR other/58545
        * gcc.target/avr/pr58545.c: New test.

From-SVN: r204234
gcc/ChangeLog
gcc/reload1.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/avr/pr58545.c [new file with mode: 0644]