summaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-15 17:07:20 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-15 17:07:20 +0000
commite782a3103d62909b6c94c7957de5274666be4d66 (patch)
treeb276d85de8d5be7b2524553d3b57869d69c66a04 /gcc/tree-inline.c
parent58047c1717785b31671bb3495ccd64926d36f0f3 (diff)
downloadgcc-e782a3103d62909b6c94c7957de5274666be4d66.tar.gz
gcc/ChangeLog:
PR tree-optimization/33735 PR tree-optimization/33572 * tree-inline.c (update_ssa_across_abnormal_edges): Revert 2007-10-09's change. * except.c (duplicate_eh_regions): Don't look for prev_try beyond ERT_ALLOWED_EXCEPTIONS with an empty list. gcc/testsuite/ChangeLog: PR tree-optimization/33735 * g++.dg/torture/pr33735.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129356 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 7ebfbcd4a6c..55aef3d5c6e 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -1064,8 +1064,7 @@ update_ssa_across_abnormal_edges (basic_block bb, basic_block ret_bb,
}
re = find_edge (ret_bb, e->dest);
- if (!re)
- continue;
+ gcc_assert (re);
gcc_assert ((re->flags & (EDGE_EH | EDGE_ABNORMAL))
== (e->flags & (EDGE_EH | EDGE_ABNORMAL)));