Skip to content

Commit

Permalink
* cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116969 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
bernds committed Sep 15, 2006
1 parent aa02fa1 commit 1db6114
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>

* doc/tm.texi (TARGET_FUNCTION_VALUE): Put @deftypefn all in
Expand Down
3 changes: 1 addition & 2 deletions gcc/cfgrtl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand Down

0 comments on commit 1db6114

Please sign in to comment.