diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-04-15 00:24:59 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2006-04-15 00:24:59 +0200 |
commit | 7e2df4a192476c23624aa62799844224b6b53938 (patch) | |
tree | 1cf0a8f2ef66b04878785ffcb60ed3de58e0a0b7 /gcc/except.h | |
parent | 008712ae1cf581c664f18f44ccac6d36ccbf3b93 (diff) | |
download | gcc-7e2df4a192476c23624aa62799844224b6b53938.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/except.h b/gcc/except.h index 5b28296c8b4..1f96477f2e0 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); |