Avoid terminating early in LRA, unless -fchecking (PR57676)
authorBernd Schmidt <bernds@redhat.com>
Fri, 4 Mar 2016 14:12:36 +0000 (14:12 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Fri, 4 Mar 2016 14:12:36 +0000 (14:12 +0000)
commitb6c38c695832904acacf5cae38f435ef831f00e1
treef56de8a9fbedf226e0e591a92daabe830f3e6550
parentaf3cdd3433e0bc60f4e6ebee1ee699bb19485cce
Avoid terminating early in LRA, unless -fchecking (PR57676)

gcc/
PR rtl-optimization/57676
* lra-assigns.c (lra_assign): Guard test for maximum iterations
with flag_checking.

gcc/testsuite/
PR rtl-optimization/57676
* gcc.dg/torture/pr57676.c: New test.

From-SVN: r233967
gcc/ChangeLog
gcc/lra-assigns.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr57676.c [new file with mode: 0644]