Commit 244d05fb by Josef Zlomek Committed by Josef Zlomek

* gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.

From-SVN: r61884
parent 90a21764
2003-01-27 Josef Zlomek <zlomekj@suse.cz>
* gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
2003-01-27 Richard Earnshaw <rearnsha@arm.com>
PR optimization/9090
......
......@@ -4126,6 +4126,7 @@ constprop_register (insn, from, to, alter_jumps)
conditional branch instructions first. */
if (alter_jumps
&& (sset = single_set (insn)) != NULL
&& NEXT_INSN (insn)
&& any_condjump_p (NEXT_INSN (insn)) && onlyjump_p (NEXT_INSN (insn)))
{
rtx dest = SET_DEST (sset);
......
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