]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/11536 ([strength-reduce] -O2 optimalization produces wrong...
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 21 Jul 2003 16:52:38 +0000 (18:52 +0200)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 21 Jul 2003 16:52:38 +0000 (16:52 +0000)
commitbbda30a4aae700f963fd164edbeac4f4688bf2a0
tree012a183ac137fb8f46d0f240aabffa82cb691b8e
parent9ef2dd1fad3a6e04366c236a29d4377812e4bccd
re PR rtl-optimization/11536 ([strength-reduce] -O2 optimalization produces wrong code)

        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.

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