re PR target/20611 (duplicate label for inlined function referencing TLS)
authorAlan Modra <amodra@gcc.gnu.org>
Thu, 31 Mar 2005 11:34:16 +0000 (21:04 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Thu, 31 Mar 2005 11:34:16 +0000 (21:04 +0930)
PR target/20611
missed from last commit.

From-SVN: r97314

gcc/config/rs6000/rs6000.md

index 265c84f3bc3c8f31e4358d0d570d95d47fa3688e..916f39157dbed25bfead04c957585db4b7aaf0e3 100644 (file)
 
 (define_insn "load_toc_v4_PIC_1b"
   [(set (match_operand:SI 0 "register_operand" "=l")
-       (match_operand:SI 1 "immediate_operand" "s"))
-   (use (unspec [(match_dup 1) (match_operand 2 "immediate_operand" "s")]
+       (unspec:SI [(match_operand:SI 1 "immediate_operand" "s")]
                UNSPEC_TOCPTR))]
   "TARGET_ELF && DEFAULT_ABI != ABI_AIX && flag_pic == 2"
-  "bcl 20,31,%1+4\\n%1:\\n\\t.long %2-%1"
+  "bcl 20,31,$+8\\n\\t.long %1-$"
   [(set_attr "type" "branch")
    (set_attr "length" "8")])