summaryrefslogtreecommitdiff
path: root/gcc/config/xtensa
diff options
context:
space:
mode:
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-08 16:48:52 +0000
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-08 16:48:52 +0000
commitf2606961d203fb75a39acd9714a9fbc62765c8ae (patch)
tree3056c6d019406381b8820b5e1ced49a1eb3bf485 /gcc/config/xtensa
parent5ddb29754b15cd4148d10b4da8246d7dc9a21e78 (diff)
downloadgcc-f2606961d203fb75a39acd9714a9fbc62765c8ae.tar.gz
* config/alpha/alpha.c (alpha_emit_xfloating_libcall): Call use_reg.
* config/xtensa/xtensa.c (xtensa_call_tls_desc): Likewise. * config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172199 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/xtensa')
-rw-r--r--gcc/config/xtensa/xtensa.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c
index 5623cc1ba40..fe70270df86 100644
--- a/gcc/config/xtensa/xtensa.c
+++ b/gcc/config/xtensa/xtensa.c
@@ -1872,9 +1872,7 @@ xtensa_call_tls_desc (rtx sym, rtx *retp)
emit_insn (gen_tls_arg (arg, sym));
emit_move_insn (a10, arg);
call_insn = emit_call_insn (gen_tls_call (a10, fn, sym, const1_rtx));
- CALL_INSN_FUNCTION_USAGE (call_insn)
- = gen_rtx_EXPR_LIST (VOIDmode, gen_rtx_USE (VOIDmode, a10),
- CALL_INSN_FUNCTION_USAGE (call_insn));
+ use_reg (&CALL_INSN_FUNCTION_USAGE (call_insn), a10);
insns = get_insns ();
end_sequence ();