This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Emit initial value saves in the proper place
- From: Bernd Schmidt <bernds_cb1 at t-online dot de>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 15 Sep 2006 14:41:55 +0200
- Subject: Re: Emit initial value saves in the proper place
- References: <450A9E82.8050700@t-online.de>
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 ();