From 0e5be35ba7e8ff6e5b6476774820c6c57431feb2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 31 Mar 2005 21:04:16 +0930 Subject: [PATCH] re PR target/20611 (duplicate label for inlined function referencing TLS) PR target/20611 missed from last commit. From-SVN: r97314 --- gcc/config/rs6000/rs6000.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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")])