diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-11 07:38:22 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-11 07:38:22 -0400 |
commit | 5541136b1b679a183fa09a72608b771315dec4ed (patch) | |
tree | 1bd1b1a7239f62b319fc6b74c5f956ab2cce2c0f /gcc/combine.c | |
parent | 1ebecb64eb45321aaa2f0be64813509506972de8 (diff) | |
download | gcc-5541136b1b679a183fa09a72608b771315dec4ed.zip gcc-5541136b1b679a183fa09a72608b771315dec4ed.tar.gz gcc-5541136b1b679a183fa09a72608b771315dec4ed.tar.bz2 |
(subst, shift and rotate cases): Test value of SHIFT_COUNT_TRUNCATED
if it is defined.
From-SVN: r5730
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index fa34ce0..d7bfaf2 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -4674,7 +4674,7 @@ subst (x, from, to, in_dest, unique_copy) } #ifdef SHIFT_COUNT_TRUNCATED - else if (GET_CODE (XEXP (x, 1)) != REG) + else if (SHIFT_COUNT_TRUNCATED && GET_CODE (XEXP (x, 1)) != REG) SUBST (XEXP (x, 1), force_to_mode (XEXP (x, 1), GET_MODE (x), ((HOST_WIDE_INT) 1 |