]> git.ipfire.org Git - thirdparty/gcc.git/commit
unroll.c (loop_iterations): Remove common term from initial and final value only...
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 23 May 2005 17:04:39 +0000 (17:04 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Mon, 23 May 2005 17:04:39 +0000 (17:04 +0000)
commit810fc2d3d64676dd2179e669f5732e9b43f5f799
tree05ea09048214d52d6b5a9d548e2136e21ef082cf
parent672c8a053dbe2f92a01fde9101ec82c929b8e6d4
unroll.c (loop_iterations): Remove common term from initial and final value only if it is loop invariant.

ChangeLog:

* unroll.c (loop_iterations): Remove common term from initial
and final value only if it is loop invariant.

testsuite/ChangeLog:

* gcc.dg/20050510-1.c: New test.

From-SVN: r100085
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20050510-1.c [new file with mode: 0644]
gcc/unroll.c