OSDN Git Service

PR tree-optimization/33572
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Oct 2007 04:46:49 +0000 (04:46 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Oct 2007 04:46:49 +0000 (04:46 +0000)
* tree-inline.c (update_ssa_across_abnormal_edges): Tolerate
the absence of a corresponding edge from the exit block.

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

gcc/ChangeLog
gcc/tree-inline.c

index f3f200b..d275fbb 100644 (file)
@@ -1,5 +1,11 @@
 2007-10-09  Alexandre Oliva  <aoliva@redhat.com>
 
+       PR tree-optimization/33572
+       * tree-inline.c (update_ssa_across_abnormal_edges): Tolerate
+       the absence of a corresponding edge from the exit block.
+
+2007-10-09  Alexandre Oliva  <aoliva@redhat.com>
+
        PR middle-end/22156
        * tree-sra.c (instantiate_element): Use BYTES_BIG_ENDIAN for
        bit-field layout.
index 88c6158..f575b27 100644 (file)
@@ -1055,7 +1055,8 @@ update_ssa_across_abnormal_edges (basic_block bb, basic_block ret_bb,
              }
 
            re = find_edge (ret_bb, e->dest);
-           gcc_assert (re);
+           if (!re)
+             continue;
            gcc_assert ((re->flags & (EDGE_EH | EDGE_ABNORMAL))
                        == (e->flags & (EDGE_EH | EDGE_ABNORMAL)));