cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.

* cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.

From-SVN: r116969
This commit is contained in:
Bernd Schmidt 2006-09-15 12:41:08 +00:00 committed by Bernd Schmidt
parent 11b904a1fc
commit 5419bc7f3d
2 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,8 @@
* rtl.h (emit_insn_at_entry): Declare it.
* integrate.c (emit_initial_value_sets): Use it.
* cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.
2006-09-15 Kazu Hirata <kazu@codesourcery.com>
* doc/tm.texi (TARGET_FUNCTION_VALUE): Put @deftypefn all in

View File

@ -460,8 +460,7 @@ emit_insn_at_entry (rtx insn)
{
edge_iterator ei = ei_start (ENTRY_BLOCK_PTR->succs);
edge e = ei_safe_edge (ei);
if (!(e->flags & EDGE_FALLTHRU))
abort ();
gcc_assert (e->flags & EDGE_FALLTHRU);
insert_insn_on_edge (insn, e);
commit_edge_insertions ();