Commit 5a08165c by Nathan Sidwell Committed by Nathan Sidwell

optabs.c (emit_indirect_jump): Don't try an emit a jump if the target doesn't have one.

	* optabs.c (emit_indirect_jump): Don't try an emit a jump if the
	target doesn't have one.

From-SVN: r227185
parent 25486c28
2015-08-25 Nathan Sidwell <nathan@acm.org>
* optabs.c (emit_indirect_jump): Don't try an emit a jump if the
target doesn't have one.
2015-08-25 Segher Boessenkool <segher@kernel.crashing.org>
PR target/67346
......
......@@ -4488,11 +4488,13 @@ emit_indirect_jump (rtx loc)
{
if (!targetm.have_indirect_jump ())
sorry ("indirect jumps are not available on this target");
struct expand_operand ops[1];
create_address_operand (&ops[0], loc);
expand_jump_insn (targetm.code_for_indirect_jump, 1, ops);
emit_barrier ();
else
{
struct expand_operand ops[1];
create_address_operand (&ops[0], loc);
expand_jump_insn (targetm.code_for_indirect_jump, 1, ops);
emit_barrier ();
}
}
......
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