summaryrefslogtreecommitdiff
path: root/gcc/except.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-09 21:48:42 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-09 21:48:42 +0000
commit931c14df6be249e561efe8fa59b6931259421957 (patch)
tree7c1fc5c74cfa08035d86375a446d67f690e81e06 /gcc/except.h
parent0708e38194027ecd9c75c7e6eba1636b8ef3ad90 (diff)
downloadgcc-931c14df6be249e561efe8fa59b6931259421957.tar.gz
* except.h (current_function_eh_stub_label): Declare.
(current_function_eh_old_stub_label): Declare. * function.h (struct function): New members eh_stub_label and eh_old_stub_label. * except.c (current_function_eh_stub_label): New variable. (current_function_eh_old_stub_label): New variable. (init_eh_for_function): Clear them. (save_eh_status): Save them. (restore_eh_status): Restore them. (expand_builtin_eh_stub): Set current_function_eh_stub_label. (expand_builtin_eh_stub_old): Set current_function_eh_old_stub_label. * flow.c (find_basic_blocks_1): When handling a REG_LABEL note, don't make an edge from the block that contains it to the block starting with the label if this label is one of the eh stub labels. If eh stub labels exist, show they are reachable from the last block in the function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22369 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.h')
-rw-r--r--gcc/except.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/except.h b/gcc/except.h
index b498a69c7e0..d20b6067cb0 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -24,6 +24,12 @@ typedef struct rtx_def *_except_rtx;
#define rtx _except_rtx
#endif
+/* The labels generated by expand_builtin_eh_stub and
+ expand_builtin_eh_stub_old. */
+
+extern rtx current_function_eh_stub_label;
+extern rtx current_function_eh_old_stub_label;
+
#ifdef TREE_CODE
/* A stack of labels. CHAIN points to the next entry in the stack. */
@@ -82,7 +88,6 @@ struct eh_queue {
struct eh_node *tail;
};
-
/* Start an exception handling region. All instructions emitted after
this point are considered to be part of the region until
expand_eh_region_end () is invoked. */