(move_pic_label_si): Operand one is label_ref now.
authorDoug Evans <dje@gnu.org>
Thu, 12 Sep 1996 23:20:57 +0000 (23:20 +0000)
committerDoug Evans <dje@gnu.org>
Thu, 12 Sep 1996 23:20:57 +0000 (23:20 +0000)
From-SVN: r12702

gcc/config/sparc/sparc.md

index f565dc631f7f5d8488091a539767ee59f7c61ed8..7a55b778c0153aac5ece0a9037c3fa7c0da42e9c 100644 (file)
 
 (define_insn "move_pic_label_si"
   [(set (match_operand:SI 0 "register_operand" "=r")
-       (label_ref:SI (match_operand 1 "" "")))
+       ; This was previously (label_ref:SI (match_operand 1 "" "")) but that
+       ; loses the volatil and other flags of the original label_ref.
+       (match_operand:SI 1 "label_ref_operand" ""))
    (set (reg:SI 15) (pc))]
   "flag_pic"
   "*