* cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Sep 2006 12:41:08 +0000 (12:41 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Sep 2006 12:41:08 +0000 (12:41 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116969 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cfgrtl.c

index b69961a..1ea60cb 100644 (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
index df281cb..ea39f35 100644 (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 ();