diff options
author | Geoff Keating <geoffk@cygnus.com> | 1999-10-26 05:56:15 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-10-25 23:56:15 -0600 |
commit | 7f6dae2a45e53587650670c2ad12fd3725c7102c (patch) | |
tree | ae3e9a3fbd7c01fb67db975dc294de0f1451481b /gcc | |
parent | 7146dfdd90fdefc463f64b6fa4f4955b07415b78 (diff) | |
download | gcc-7f6dae2a45e53587650670c2ad12fd3725c7102c.zip gcc-7f6dae2a45e53587650670c2ad12fd3725c7102c.tar.gz gcc-7f6dae2a45e53587650670c2ad12fd3725c7102c.tar.bz2 |
loop.c (basic_induction_var): A non-integer variable which is being set by a paradoxical subreg is probably...
* loop.c (basic_induction_var): A non-integer variable which is
being set by a paradoxical subreg is probably not a biv.
From-SVN: r30181
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/loop.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c7251d8..a9763a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com> + + * loop.c (basic_induction_var): A non-integer variable which is + being set by a paradoxical subreg is probably not a biv. + 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * prefix.c (translate_name) Check for empty prefix string. @@ -6118,6 +6118,8 @@ basic_induction_var (x, mode, dest_reg, p, inc_val, mult_val, location) || (GET_CODE (SET_DEST (set)) == SUBREG && (GET_MODE_SIZE (GET_MODE (SET_DEST (set))) <= UNITS_PER_WORD) + && (GET_MODE_CLASS (GET_MODE (SET_DEST (set))) + == MODE_INT) && SUBREG_REG (SET_DEST (set)) == x)) && basic_induction_var (SET_SRC (set), (GET_MODE (SET_SRC (set)) == VOIDmode |