diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-01-24 16:33:14 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-01-24 16:33:14 -0800 |
commit | bc8a0e39b7504b4aa23203353bb77136d487c101 (patch) | |
tree | d93e339f96b8a549ce9932f1d4ef73c7c83fc5ed /gcc | |
parent | 9033081d38c855d7cf191d2b111c9e410297d5ca (diff) | |
download | gcc-bc8a0e39b7504b4aa23203353bb77136d487c101.zip gcc-bc8a0e39b7504b4aa23203353bb77136d487c101.tar.gz gcc-bc8a0e39b7504b4aa23203353bb77136d487c101.tar.bz2 |
(store_split_bit_field): Reject gen_lowpart_common
output if it returns the input value.
From-SVN: r6430
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/expmed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index f20fb18..76c8a87 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -691,7 +691,7 @@ store_split_bit_field (op0, bitsize, bitpos, value, align) { rtx word = gen_lowpart_common (word_mode, value); - if (word) + if (word && (value != word)) value = word; else value = gen_lowpart_common (word_mode, |