[Bug rtl-optimization/78241] [7 Regression] wrong code with -funroll-loops
pthaugen at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 10 18:56:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78241
--- Comment #3 from Pat Haugen <pthaugen at gcc dot gnu.org> ---
Author: pthaugen
Date: Thu Nov 10 18:55:57 2016
New Revision: 242047
URL: https://gcc.gnu.org/viewcvs?rev=242047&root=gcc&view=rev
Log:
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.
* gcc.dg/pr78241.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr78241.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/loop-unroll.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list