cfgbuild.c (make_edges): Set ABNORMAL with SIBCALL.
authorRichard Henderson <rth@redhat.com>
Fri, 13 Jun 2003 22:56:09 +0000 (15:56 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 13 Jun 2003 22:56:09 +0000 (15:56 -0700)
        * cfgbuild.c (make_edges): Set ABNORMAL with SIBCALL.
        * cfgrtl.c (purge_dead_edges): Expect it too.

From-SVN: r67917

gcc/ChangeLog
gcc/cfgbuild.c
gcc/cfgrtl.c

index 9a5424692e3dd806b1116b27af10ac6e59884d6e..20382249f9cf62924da0993771bb723978b37c57 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
index ed8dfb88066ee12238cc0c121168f117876c43d6..de57653ab462b314ab73532b8cda8405ce4a42ad 100644 (file)
@@ -406,7 +406,8 @@ make_edges (label_value_list, min, max, update_p)
         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
index 7c36c54d0ea058682d3e753c0d93194964b44f15..35757cd547598a642413f5d56e32480c2b2ecef6 100644 (file)
@@ -2182,7 +2182,7 @@ purge_dead_edges (bb)
         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;