From 1db61145aec790fea24e667b0e2059ac835e6b83 Mon Sep 17 00:00:00 2001 From: bernds Date: Fri, 15 Sep 2006 12:41:08 +0000 Subject: [PATCH] * cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116969 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 2 ++ gcc/cfgrtl.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b69961aa18bb7..1ea60cb63348b 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 df281cb2d89bd..ea39f35cc2084 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 ();