aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranz Sirl <Franz.Sirl-kernel@lauterbach.com>2000-11-13 22:20:03 +0000
committerFranz Sirl <sirl@gcc.gnu.org>2000-11-13 22:20:03 +0000
commita78cc542019750a2c78cda87c874c0f8ad84c90f (patch)
tree79954a654639235fde77a40a2d4ed5f97ab4e11a
parent66dfa1436fd19a02df2ada0e1e2e94e8f733e7fa (diff)
downloadgcc-a78cc542019750a2c78cda87c874c0f8ad84c90f.zip
gcc-a78cc542019750a2c78cda87c874c0f8ad84c90f.tar.gz
gcc-a78cc542019750a2c78cda87c874c0f8ad84c90f.tar.bz2
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
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/loop.c15
2 files changed, 12 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 86ce5ac..38734a8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/loop.c b/gcc/loop.c
index 9254fc9..267c469 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. */