aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2005-04-25 19:24:28 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2005-04-25 17:24:28 +0000
commitcc7220fd0e78ebe5c963157b1272729540b62c9a (patch)
tree3e4dfc8934383c983170f17940177f54350abc6f /gcc/except.h
parent2845f02a6f36e198848fc90a266dd75c9842bcc0 (diff)
downloadgcc-cc7220fd0e78ebe5c963157b1272729540b62c9a.zip
gcc-cc7220fd0e78ebe5c963157b1272729540b62c9a.tar.gz
gcc-cc7220fd0e78ebe5c963157b1272729540b62c9a.tar.bz2
tree-cfg.c (tree_duplicate_bb): Duplicate EH region too.
* tree-cfg.c (tree_duplicate_bb): Duplicate EH region too. * except.c: Include diagnostic.h (dump_eh_tree, verify_eh_tree): New functions. * except.h (verify_eh_tree, dump_eh_tree, verify_eh_edges): Declare. * tree-cfg.c (tree_verify_flow_info): verify eh edges. (dump_function_to_file): dump eh tree. * tree-eh.c (mark_eh_edge): New function. (mark_eh_edge_found_error): New static variable. (verify_eh_edges): New function. From-SVN: r98724
Diffstat (limited to 'gcc/except.h')
-rw-r--r--gcc/except.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/except.h b/gcc/except.h
index 05a3417..06fb78d 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -101,9 +101,12 @@ extern void foreach_reachable_handler (int, bool,
extern void collect_eh_region_array (void);
extern void expand_resx_expr (tree);
+extern void verify_eh_tree (struct function *);
+extern void dump_eh_tree (FILE *, struct function *);
/* tree-eh.c */
extern int lookup_stmt_eh_region (tree);
+extern bool verify_eh_edges (tree);
/* If non-NULL, this is a function that returns an expression to be
executed if an unhandled exception is propagated out of a cleanup