* optabs.c (emit_indirect_jump): Don't try an emit a jump if the
target doesn't have one.
From-SVN: r227185
+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
{
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 ();
+ }
}
\f