PR optimization/11536
commit3f916c66033ae92c353f83525b549075fbe31d8c
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jul 2003 16:52:38 +0000 (21 16:52 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jul 2003 16:52:38 +0000 (21 16:52 +0000)
tree012a183ac137fb8f46d0f240aabffa82cb691b8e
parent73df7a09f17480e9697ce077844a9219975c495b
    PR optimization/11536
* unroll.c (loop_iterations): Do not replace a register holding
the final value by its equivalent before the loop if it is not
invariant.

        PR optimization/11536
* gcc.dg/20030721-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69635 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20030721-1.c [new file with mode: 0644]
gcc/unroll.c