This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Emit initial value saves in the proper place


And an immediate followup patch... old habits die hard, sigh.


Bernd


Index: ChangeLog
===================================================================
--- ChangeLog	(revision 116968)
+++ ChangeLog	(working copy)
@@ -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: cfgrtl.c
===================================================================
--- cfgrtl.c	(revision 116968)
+++ cfgrtl.c	(working copy)
@@ -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 ();

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]