+2003-06-13 Richard Henderson <rth@redhat.com>
+
+ * cfgbuild.c (make_edges): Set ABNORMAL with SIBCALL.
+ * cfgrtl.c (purge_dead_edges): Expect it too.
+
2003-06-13 Jim Wilson <wilson@tuliptree.org>
Eric Botcazou <ebotcazou@libertysurf.fr>
worry about EH edges, since we wouldn't have created the sibling call
in the first place. */
if (code == CALL_INSN && SIBLING_CALL_P (insn))
- cached_make_edge (edge_cache, bb, EXIT_BLOCK_PTR, EDGE_SIBCALL);
+ cached_make_edge (edge_cache, bb, EXIT_BLOCK_PTR,
+ EDGE_SIBCALL | EDGE_ABNORMAL);
/* If this is a CALL_INSN, then mark it as reaching the active EH
handler for this CALL_INSN. If we're handling non-call
should of course never have been a fallthru edge. */
if (!bb->succ || bb->succ->succ_next)
abort ();
- if (bb->succ->flags != EDGE_SIBCALL)
+ if (bb->succ->flags != (EDGE_SIBCALL | EDGE_ABNORMAL))
abort ();
return 0;