Fix -fPIC regression reported by Brendan Kehoe.
authorDavid S. Miller <davem@pierdol.cobaltmicro.com>
Sat, 15 Aug 1998 09:47:56 +0000 (09:47 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Sat, 15 Aug 1998 09:47:56 +0000 (02:47 -0700)
* config/sparc/sparc.md (movsi_lo_sum_pic_label_reg): Remove
write-only modifier from operand 1 constraint.

From-SVN: r21749

gcc/ChangeLog
gcc/config/sparc/sparc.md

index 39be7a8d9fe4c65ac8687f7780dec43948bb695d..9de7a15f692e921324314079f159548b1f1b3230 100644 (file)
@@ -1,3 +1,8 @@
+Sat Aug 15 08:39:49 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
+
+       * config/sparc/sparc.md (movsi_lo_sum_pic_label_reg): Remove
+       write-only modifier from operand 1 constraint.
+
 Sat Aug 15 06:28:19 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
 
        * config/sparc/sparc.c (sparc_emit_set_const64_quick1): If
index 72795121ec0236fd65ebe5ea45c794dfddd501bc..83ade02a35ef00a6b98a2be88a49a90809b07815 100644 (file)
 
 (define_insn "*movsi_lo_sum_pic_label_ref"
   [(set (match_operand:SI 0 "register_operand" "=r")
-      (lo_sum:SI (match_operand:SI 1 "register_operand" "=r")
+      (lo_sum:SI (match_operand:SI 1 "register_operand" "r")
         (unspec:SI [(match_operand:SI 2 "label_ref_operand" "")
                    (match_operand:SI 3 "" "")] 5)))]
   "flag_pic"