aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-04-15 00:24:59 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2006-04-15 00:24:59 +0200
commit7e2df4a192476c23624aa62799844224b6b53938 (patch)
tree1cf0a8f2ef66b04878785ffcb60ed3de58e0a0b7 /gcc/except.h
parent008712ae1cf581c664f18f44ccac6d36ccbf3b93 (diff)
downloadgcc-7e2df4a192476c23624aa62799844224b6b53938.zip
gcc-7e2df4a192476c23624aa62799844224b6b53938.tar.gz
gcc-7e2df4a192476c23624aa62799844224b6b53938.tar.bz2
re PR middle-end/26823 (ICE with OpenMP in add_stmt_to_eh_region_fn, at tree-eh.c:100)
PR middle-end/26823 * except.h (eh_region_outermost): New prototype. * except.c (eh_region_outermost): New function. * tree-cfg.c (find_outermost_region_in_block): Use it. * g++.dg/gomp/pr26823-1.C: New test. * g++.dg/gomp/pr26823-2.C: New test. From-SVN: r112959
Diffstat (limited to 'gcc/except.h')
-rw-r--r--gcc/except.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/except.h b/gcc/except.h
index 5b28296..1f96477 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -108,6 +108,7 @@ extern void expand_resx_expr (tree);
extern void verify_eh_tree (struct function *);
extern void dump_eh_tree (FILE *, struct function *);
extern bool eh_region_outer_p (struct function *, int, int);
+extern int eh_region_outermost (struct function *, int, int);
/* tree-eh.c */
extern void add_stmt_to_eh_region_fn (struct function *, tree, int);