OSDN Git Service

(store_split_bit_field): Reject gen_lowpart_common
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Jan 1994 00:33:14 +0000 (00:33 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Jan 1994 00:33:14 +0000 (00:33 +0000)
output if it returns the input value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6430 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/expmed.c

index f20fb18..76c8a87 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,