* config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
authorRoger Sayle <roger@eyesopen.com>
Sat, 18 Jan 2003 14:51:10 +0000 (14:51 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sat, 18 Jan 2003 14:51:10 +0000 (14:51 +0000)
From-SVN: r61473

gcc/ChangeLog
gcc/config/pa/pa.md

index fc72b01231271599a0f14694a615f96280da70c9..21613b52ef709d322f4345ebd8a088e84c9828ca 100644 (file)
@@ -1,3 +1,7 @@
+2003-01-18  Roger Sayle  <roger@eyesopen.com>
+
+       * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
+
 2003-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * ra-build.c (undef_to_size_word): Avoid `switch' warning.
index 00ea6e9b49d250c7f2bfdeae50131636d7c0f2dd..8949a1abc74d87c4d894d65f5066ac5279351d65 100644 (file)
   emit_insn (gen_umulsidi3 (cross_product2, op2l, op1r));
 
   /* Emit a multiply for the low sub-word.  */
-  emit_insn (gen_umulsidi3 (low_product, op2r, op1r));
+  emit_insn (gen_umulsidi3 (low_product, copy_rtx (op2r), copy_rtx (op1r)));
 
   /* Sum the cross products and shift them into proper position.  */
   emit_insn (gen_adddi3 (cross_scratch, cross_product1, cross_product2));