loop.h (struct iv): New.
authorMichael Hayes <mhayes@redhat.com>
Mon, 1 Jan 2001 00:49:30 +0000 (00:49 +0000)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Mon, 1 Jan 2001 00:49:30 +0000 (00:49 +0000)
commit14be28e5f43fa2710e15441ff8b4e54b64295303
tree33ca0f377662aa610d440a02bd9c36e0241f73aa
parent1d2215feb99eee4186a842f93484ac3130f2f20a
loop.h (struct iv): New.

* loop.h (struct iv): New.
(REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
(struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
'reg_biv_class' fields with 'regs' and 'n_regs'.
(struct ivs): Rename 'loop_iv_list' field to 'list'.
* loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
* unroll.c (loop_iterations): Check array bounds with ivs->n_regs.

From-SVN: r38582
gcc/ChangeLog
gcc/loop.c
gcc/loop.h
gcc/unroll.c