2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-21 23:51:18 +08:00

mips.c (mips_call_tls_get_addr): Don't claim that the call uses the incoming value of $2.

gcc/
	* config/mips/mips.c (mips_call_tls_get_addr): Don't claim that
	the call uses the incoming value of $2.

From-SVN: r129481
This commit is contained in:
Richard Sandiford 2007-10-19 09:06:15 +00:00 committed by Richard Sandiford
parent 8d0e1e43af
commit 2ac02d08f7
2 changed files with 5 additions and 1 deletions
gcc
ChangeLog
config/mips

@ -1,3 +1,8 @@
2007-10-19 Richard Sandiford <rsandifo@nildram.co.uk>
* config/mips/mips.c (mips_call_tls_get_addr): Don't claim that
the call uses the incoming value of $2.
2007-10-19 Richard Sandiford <rsandifo@nildram.co.uk>
* config/mips/mips.c (mips_call_tls_get_addr): Use gen_const_mem

@ -2357,7 +2357,6 @@ mips_call_tls_get_addr (rtx sym, enum mips_symbol_type type, rtx v0)
tga = gen_const_mem (Pmode, mips_tls_symbol);
insn = emit_call_insn (gen_call_value (v0, tga, const0_rtx, const0_rtx));
CONST_OR_PURE_CALL_P (insn) = 1;
use_reg (&CALL_INSN_FUNCTION_USAGE (insn), v0);
use_reg (&CALL_INSN_FUNCTION_USAGE (insn), a0);
insn = get_insns ();