Commit fb9ef4c1 by Jan Hubicka Committed by Jan Hubicka

* emit-rtl.c (remove_insn): Fix thinko in prevoius patch.

From-SVN: r160121
parent 6594b49d
2010-06-01 Jan Hubicka <jh@suse.cz>
* emit-rtl.c (remove_insn): Fix thinko in prevoius patch.
2010-06-01 Nathan Froyd <froydnj@codesourcery.com> 2010-06-01 Nathan Froyd <froydnj@codesourcery.com>
* tree.h (build_nt_call_list): Delete. * tree.h (build_nt_call_list): Delete.
......
...@@ -3856,7 +3856,8 @@ remove_insn (rtx insn) ...@@ -3856,7 +3856,8 @@ remove_insn (rtx insn)
} }
else if (get_insns () == insn) else if (get_insns () == insn)
{ {
PREV_INSN (next) = NULL; if (next)
PREV_INSN (next) = NULL;
set_first_insn (next); set_first_insn (next);
} }
else else
......
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