From: Alan Modra Date: Thu, 31 Mar 2005 11:34:16 +0000 (+0930) Subject: re PR target/20611 (duplicate label for inlined function referencing TLS) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e5be35ba7e8ff6e5b6476774820c6c57431feb2;p=gcc.git re PR target/20611 (duplicate label for inlined function referencing TLS) PR target/20611 missed from last commit. From-SVN: r97314 --- diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 265c84f3bc3..916f39157db 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -10146,11 +10146,10 @@ (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")])