+2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ PR target/56809
+ * config/arm/arm.c (is_jump_table): Use next_active_insn instead of
+ next_real_insn.
+ (thumb1_output_casesi): Likewise.
+ (thumb2_output_casesi): Likewise.
+
2013-04-03 Richard Biener <rguenther@suse.de>
PR tree-optimization/56817
rtx table;
if (jump_to_label_p (insn)
- && ((table = next_real_insn (JUMP_LABEL (insn)))
- == next_real_insn (insn))
+ && ((table = next_active_insn (JUMP_LABEL (insn)))
+ == next_active_insn (insn))
&& table != NULL
&& JUMP_TABLE_DATA_P (table))
return table;
const char *
thumb1_output_casesi (rtx *operands)
{
- rtx diff_vec = PATTERN (next_real_insn (operands[0]));
+ rtx diff_vec = PATTERN (next_active_insn (operands[0]));
gcc_assert (GET_CODE (diff_vec) == ADDR_DIFF_VEC);
const char *
thumb2_output_casesi (rtx *operands)
{
- rtx diff_vec = PATTERN (next_real_insn (operands[2]));
+ rtx diff_vec = PATTERN (next_active_insn (operands[2]));
gcc_assert (GET_CODE (diff_vec) == ADDR_DIFF_VEC);