summaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorsirl <sirl@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-13 22:20:03 +0000
committersirl <sirl@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-13 22:20:03 +0000
commitd287dcf903d6f952ba94652a28d5a49932b788c2 (patch)
tree79954a654639235fde77a40a2d4ed5f97ab4e11a /gcc/loop.c
parent9c206a1d1ead4a57095697b380a02b8eaaff185a (diff)
downloadgcc-d287dcf903d6f952ba94652a28d5a49932b788c2.tar.gz
2000-11-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* loop.c (basic_induction_var): Revert accidental checkin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37440 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index 9254fc90f56..267c4691afc 100644
--- a/gcc/loop.c
+++ b/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. */