Commit e255044e by John David Anglin Committed by John David Anglin

re PR target/53789 (ICE in gen_reg_rtx, at emit-rtl.c:864/865 when compiling GNU MPFR on parisc)

	PR target/53789
	* config/pa/pa.md (movsi): Reject expansion of TLS symbol references
	after reload starts.

From-SVN: r194714
parent 1eb4a0c9
2012-12-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/53789
* config/pa/pa.md (movsi): Reject expansion of TLS symbol references
after reload starts.
2012-12-22 Jan Hubicka <jh@suse.cz> 2012-12-22 Jan Hubicka <jh@suse.cz>
PR lto/54728 PR lto/54728
...@@ -2094,6 +2094,12 @@ ...@@ -2094,6 +2094,12 @@
"" ""
" "
{ {
/* A TLS symbol reference is not a valid move source operand.
pa_emit_move_sequence can only handle them prior to reload.
There is also no way to reload a TLS symbol reference, so
we must reject them after reload starts. */
if (PA_SYMBOL_REF_TLS_P (operands[1]) && !can_create_pseudo_p ())
FAIL;
if (pa_emit_move_sequence (operands, SImode, 0)) if (pa_emit_move_sequence (operands, SImode, 0))
DONE; DONE;
}") }")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment