OSDN Git Service

PR optimization/12340
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Sep 2003 17:18:25 +0000 (17:18 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Sep 2003 17:18:25 +0000 (17:18 +0000)
commitf2df20268393f97674b2b02bfb4ce78a9442e129
tree69c65bf4228b0815d726602917430e7ecd31d590
parentdf2c7ecb54999c7d09b7d3fda550f66c8e46ccde
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71859 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/loop.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/unroll1.C [new file with mode: 0644]
gcc/unroll.c