OSDN Git Service

* cfgbuild.c (make_edges): Set ABNORMAL with SIBCALL.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jun 2003 22:56:09 +0000 (22:56 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jun 2003 22:56:09 +0000 (22:56 +0000)
        * cfgrtl.c (purge_dead_edges): Expect it too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67917 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 9a54246..2038224 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 ed8dfb8..de57653 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 7c36c54..35757cd 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;