avr-related reload fix from Senthil Kumar Selvaraj
authorBernd Schmidt <bernds@gcc.gnu.org>
Fri, 29 Apr 2016 08:59:09 +0000 (08:59 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Fri, 29 Apr 2016 08:59:09 +0000 (08:59 +0000)
commit849b265de120169d2171806568ae1b977ec96193
tree60f090609b425a9db96f82080a5d8874885d6a81
parent1390536b5144f4bfc41d17eb4644276090bbd546
avr-related reload fix from Senthil Kumar Selvaraj

PR target/60040
* reload1.c (reload): Call finish_spills before
restarting reload loop. Skip select_reload_regs
if update_eliminables_and_spill returns true.

testsuite/
PR target/60040
* gcc.target/avr/pr60040-1.c: New.
* gcc.target/avr/pr60040-2.c: New.

From-SVN: r235625
gcc/ChangeLog
gcc/reload1.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/avr/pr60040-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/pr60040-2.c [new file with mode: 0644]