fix target/21657

Richard Henderson rth@redhat.com
Thu May 19 09:46:00 GMT 2005


Ug.  Yet another thinko in by tls reorg of last week.  This time
tested with a glibc build and check as well.  


r~


        PR target/21657
        * config/ia64/ia64.c (ia64_expand_tls_address): Remove extra
        memory indirection in local-dynamic case.

Index: config/ia64/ia64.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/ia64/ia64.c,v
retrieving revision 1.347.2.7
diff -u -p -d -r1.347.2.7 ia64.c
--- config/ia64/ia64.c	18 May 2005 16:50:48 -0000	1.347.2.7
+++ config/ia64/ia64.c	19 May 2005 09:30:46 -0000
@@ -884,7 +884,6 @@ ia64_expand_tls_address (enum tls_model 
 
       tga_op1 = gen_reg_rtx (Pmode);
       emit_insn (gen_load_dtpmod (tga_op1, op1));
-      tga_op1 = gen_const_mem (Pmode, tga_op1);
 
       tga_op2 = const0_rtx;
 



More information about the Gcc-patches mailing list