diff options
author | Igor Shevlyakov <igor@microunity.com> | 2002-09-26 21:15:26 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-09-26 14:15:26 -0700 |
commit | 855c3a2e32e513b7851f889b9e41b4836ec3af8a (patch) | |
tree | 27a010d5fa4eb9ddf736b210001bea1100cf2fdf /gcc/combine.c | |
parent | d57f8a715271293684d53eb1c17ac1386862a09f (diff) | |
download | gcc-855c3a2e32e513b7851f889b9e41b4836ec3af8a.zip gcc-855c3a2e32e513b7851f889b9e41b4836ec3af8a.tar.gz gcc-855c3a2e32e513b7851f889b9e41b4836ec3af8a.tar.bz2 |
combine.c (simplify_set): Don't call to force_to_mode if size of integer type is larger than...
* combine.c (simplify_set): Don't call to force_to_mode if size
of integer type is larger than HOST_BITS_PER_WIDE_INT.
From-SVN: r57549
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index 5b7b5a9..7fcada4 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -5011,7 +5011,8 @@ simplify_set (x) simplify the expression for the object knowing that we only need the low-order bits. */ - if (GET_MODE_CLASS (mode) == MODE_INT) + if (GET_MODE_CLASS (mode) == MODE_INT + && GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT) { src = force_to_mode (src, mode, ~(HOST_WIDE_INT) 0, NULL_RTX, 0); SUBST (SET_SRC (x), src); |