From: Bernd Schmidt Date: Fri, 15 Sep 2006 12:41:08 +0000 (+0000) Subject: cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5419bc7f3dbed760ececc639a7aff346da611c58;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b69961aa18b..1ea60cb6334 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 * doc/tm.texi (TARGET_FUNCTION_VALUE): Put @deftypefn all in diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index df281cb2d89..ea39f35cc20 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -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 ();