mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 07:19:02 +08:00
loop.c (basic_induction_var): Revert accidental checkin.
2000-11-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * loop.c (basic_induction_var): Revert accidental checkin. From-SVN: r37440
This commit is contained in:
parent
66dfa1436f
commit
a78cc54201
@ -1,3 +1,7 @@
|
||||
2000-11-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
|
||||
|
||||
* loop.c (basic_induction_var): Revert accidental checkin.
|
||||
|
||||
2000-11-13 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* c-lex.c (cb_leave_file): Harmonize conditions and order of
|
||||
|
15
gcc/loop.c
15
gcc/loop.c
@ -5486,13 +5486,14 @@ basic_induction_var (loop, x, mode, dest_reg, p, inc_val, mult_val, location)
|
||||
<= UNITS_PER_WORD)
|
||||
&& (GET_MODE_CLASS (GET_MODE (SET_DEST (set)))
|
||||
== MODE_INT)
|
||||
&& SUBREG_REG (SET_DEST (set)) == x)))
|
||||
return basic_induction_var (loop, SET_SRC (set),
|
||||
(GET_MODE (SET_SRC (set)) == VOIDmode
|
||||
? GET_MODE (x)
|
||||
: GET_MODE (SET_SRC (set))),
|
||||
dest_reg, insn,
|
||||
inc_val, mult_val, location);
|
||||
&& SUBREG_REG (SET_DEST (set)) == x))
|
||||
&& basic_induction_var (loop, SET_SRC (set),
|
||||
(GET_MODE (SET_SRC (set)) == VOIDmode
|
||||
? GET_MODE (x)
|
||||
: GET_MODE (SET_SRC (set))),
|
||||
dest_reg, insn,
|
||||
inc_val, mult_val, location))
|
||||
return 1;
|
||||
}
|
||||
/* Fall through. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user