* config/sh/sh.c (split_branches): Check the result of
next_active_insn.
From-SVN: r151152
+2009-08-27 Kaz Kojima <kkojima@gcc.gnu.org>
+
+ * config/sh/sh.c (split_branches): Check the result of
+ next_active_insn.
+
2009-08-27 Steve Ellcey <sje@cup.hp.com>
* config/ia64/hpux.h (LIB_SPEC): Add -lrt for when
next = next_active_insn (insn);
- if ((JUMP_P (next)
- || ((next = next_active_insn (next))
- && JUMP_P (next)))
+ if (next
+ && (JUMP_P (next)
+ || ((next = next_active_insn (next))
+ && JUMP_P (next)))
&& GET_CODE (PATTERN (next)) == SET
&& recog_memoized (next) == CODE_FOR_jump_compact
&& ((INSN_ADDRESSES