re PR rtl-optimization/12340 (loop unroller + gcse produces wrong code)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Sat, 27 Sep 2003 17:18:25 +0000 (19:18 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 27 Sep 2003 17:18:25 +0000 (17:18 +0000)
commite8226879d081098068ec39a204094449e38f3595
tree69c65bf4228b0815d726602917430e7ecd31d590
parentc003e212ead438407d7968c2ada135f90307a8be
re PR rtl-optimization/12340 (loop unroller + gcse produces wrong code)

PR optimization/12340
* loop.h (struct induction): Document the new semantics
of the 'same' field for bivs.
* unroll.c (biv_total_increment): Don't count the same
biv increment several times.
(loop_iterations) [GENERAL_INDUCT]: Likewise.

From-SVN: r71859
gcc/ChangeLog
gcc/loop.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/unroll1.C [new file with mode: 0644]
gcc/unroll.c