(store_split_bit_field): Reject gen_lowpart_common
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 25 Jan 1994 00:33:14 +0000 (16:33 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 25 Jan 1994 00:33:14 +0000 (16:33 -0800)
output if it returns the input value.

From-SVN: r6430

gcc/expmed.c

index f20fb1868759fd8f4e68175c2c74bbfdacefc16d..76c8a87c0cfceba351c674e8b23b95503ca85263 100644 (file)
@@ -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,