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

From-SVN: r160121
This commit is contained in:
Jan Hubicka 2010-06-01 22:29:41 +02:00 committed by Jan Hubicka
parent 6594b49de9
commit fb9ef4c18e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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>
* tree.h (build_nt_call_list): Delete.

View File

@ -3856,7 +3856,8 @@ remove_insn (rtx insn)
}
else if (get_insns () == insn)
{
PREV_INSN (next) = NULL;
if (next)
PREV_INSN (next) = NULL;
set_first_insn (next);
}
else