re PR target/21657 (TLS reference miscompiled)
authorRichard Henderson <rth@gcc.gnu.org>
Thu, 19 May 2005 09:42:23 +0000 (02:42 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 19 May 2005 09:42:23 +0000 (02:42 -0700)
        PR target/21657
        * config/ia64/ia64.c (ia64_expand_tls_address): Remove extra
        memory indirection in local-dynamic case.

From-SVN: r99971

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 9511f564213d3f203c7b6eb6615f8ee9cbd96bc9..ba9c988a48b8ef90c357be91c339f4e84d1defdd 100644 (file)
@@ -1,5 +1,11 @@
+2005-05-19  Richard Henderson  <rth@redhat.com>
+
+       PR target/21657
+       * config/ia64/ia64.c (ia64_expand_tls_address): Remove extra
+       memory indirection in local-dynamic case.
+
 2005-05-18  Jie Zhang  <jie.zhang@analog.com>
-            Bernd Schmidt  <bernd.schmidt@analog.com>
+           Bernd Schmidt  <bernd.schmidt@analog.com>
 
        * config/bfin/bfin.c (branch_dest): Add comment why it's
        necessary.
        
 2005-05-18  Richard Henderson  <rth@redhat.com>
 
-        * tree-ssa-forwprop.c (cfg_changed): New.
-        (tidy_after_forward_propagate_addr): New.
-        (forward_propagate_addr_expr): Use it, and fold_stmt_inplace.
-        (forward_propagate_addr_into_variable_array_index): Likewise.
-        (tree_ssa_forward_propagate_single_use_vars): Cleanup cfg if
-        edges were removed.
+       * tree-ssa-forwprop.c (cfg_changed): New.
+       (tidy_after_forward_propagate_addr): New.
+       (forward_propagate_addr_expr): Use it, and fold_stmt_inplace.
+       (forward_propagate_addr_into_variable_array_index): Likewise.
+       (tree_ssa_forward_propagate_single_use_vars): Cleanup cfg if
+       edges were removed.
 
 2005-05-18  Geoffrey Keating  <geoffk@apple.com>
 
index d23d3553d8d98498fa54a9488fce04e05b0ec595..c8e0ea398b1fb7a654018f5d86b31b6140f6a30a 100644 (file)
@@ -875,7 +875,6 @@ ia64_expand_tls_address (enum tls_model tls_kind, rtx op0, rtx op1,
 
       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;