re PR rtl-optimization/78241 (wrong code with -funroll-loops)
authorPat Haugen <pthaugen@us.ibm.com>
Fri, 3 Feb 2017 14:20:30 +0000 (14:20 +0000)
committerPat Haugen <pthaugen@gcc.gnu.org>
Fri, 3 Feb 2017 14:20:30 +0000 (14:20 +0000)
commitbaa2d1cd7685aa533ccec29cf5921774874bdef7
tree37648fd0fba90a835d722a896cfabb4dc45735df
parent30c6ec2f5309f78a1ded63243ae0037b63974d29
re PR rtl-optimization/78241 (wrong code with -funroll-loops)

PR rtl-optimization/78241
* loop-unroll.c (unroll_loop_runtime_iterations): Don't adjust 'niter', but
emit initial peel copy if niter expr is not reliable.

From-SVN: r245152
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr70669.c