aboutsummaryrefslogtreecommitdiff
path: root/gcc/expmed.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-01-26 15:21:45 -0800
committerRichard Henderson <rth@gcc.gnu.org>2005-01-26 15:21:45 -0800
commiteec6bb06c65297a56eeff3c6bd8e4b31fec554bb (patch)
treec828ac0ac89a98ec49d783702a5abcc79e0be758 /gcc/expmed.c
parent78ef1e3d9fbe214ead3c117ec54a5c10da91a0df (diff)
downloadgcc-eec6bb06c65297a56eeff3c6bd8e4b31fec554bb.zip
gcc-eec6bb06c65297a56eeff3c6bd8e4b31fec554bb.tar.gz
gcc-eec6bb06c65297a56eeff3c6bd8e4b31fec554bb.tar.bz2
Revert last change.
From-SVN: r94291
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r--gcc/expmed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c
index 084a987..1091c45 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -878,7 +878,7 @@ store_fixed_bit_field (rtx op0, unsigned HOST_WIDE_INT offset,
if (GET_MODE (value) != mode)
{
if ((REG_P (value) || GET_CODE (value) == SUBREG)
- && GET_MODE_SIZE (GET_MODE (value)) <= bitsize)
+ && GET_MODE_SIZE (mode) < GET_MODE_SIZE (GET_MODE (value)))
value = gen_lowpart (mode, value);
else
value = convert_to_mode (mode, value, 1);