diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2011-04-08 16:48:52 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2011-04-08 16:48:52 +0000 |
commit | 44f370bf4c8ad5c0f780f28c88b7df396d9dd140 (patch) | |
tree | 3056c6d019406381b8820b5e1ced49a1eb3bf485 /gcc | |
parent | 483d7ad32fe00b57d00bfa055e561f51502ebe77 (diff) | |
download | gcc-44f370bf4c8ad5c0f780f28c88b7df396d9dd140.zip gcc-44f370bf4c8ad5c0f780f28c88b7df396d9dd140.tar.gz gcc-44f370bf4c8ad5c0f780f28c88b7df396d9dd140.tar.bz2 |
alpha.c (alpha_emit_xfloating_libcall): Call use_reg.
* 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.
From-SVN: r172199
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.c | 2 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.c | 8 | ||||
-rw-r--r-- | gcc/config/xtensa/xtensa.c | 4 |
4 files changed, 10 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 719f8dd..d19aa68 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-04-08 Nathan Froyd <froydnj@codesourcery.com> + + * 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. + 2011-04-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR target/48366 diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 8aabeb2..5e85e2b 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -2999,7 +2999,7 @@ alpha_emit_xfloating_libcall (rtx func, rtx target, rtx operands[], } emit_move_insn (reg, operands[i]); - usage = alloc_EXPR_LIST (0, gen_rtx_USE (VOIDmode, reg), usage); + use_reg (&usage, reg); } switch (GET_MODE (target)) diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 30c0d34..c088985 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -3311,9 +3311,7 @@ sparc_legitimize_tls_address (rtx addr) insn = emit_call_insn (gen_tgd_call64 (o0, sparc_tls_get_addr (), addr, const1_rtx)); } - CALL_INSN_FUNCTION_USAGE (insn) - = gen_rtx_EXPR_LIST (VOIDmode, gen_rtx_USE (VOIDmode, o0), - CALL_INSN_FUNCTION_USAGE (insn)); + use_reg (&CALL_INSN_FUNCTION_USAGE (insn), o0); insn = get_insns (); end_sequence (); emit_libcall_block (insn, ret, o0, addr); @@ -3341,9 +3339,7 @@ sparc_legitimize_tls_address (rtx addr) insn = emit_call_insn (gen_tldm_call64 (o0, sparc_tls_get_addr (), const1_rtx)); } - CALL_INSN_FUNCTION_USAGE (insn) - = gen_rtx_EXPR_LIST (VOIDmode, gen_rtx_USE (VOIDmode, o0), - CALL_INSN_FUNCTION_USAGE (insn)); + use_reg (&CALL_INSN_FUNCTION_USAGE (insn), o0); insn = get_insns (); end_sequence (); emit_libcall_block (insn, temp3, o0, diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c index 5623cc1..fe70270 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 (); |