summaryrefslogtreecommitdiff
path: root/gcc/except.h
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2000-03-09 14:01:47 -0500
committerJason Merrill <jason@gcc.gnu.org>2000-03-09 14:01:47 -0500
commitfb13d4d024b03ae9c2e43171ebd43babd6ebb4e2 (patch)
tree0c173c0ea7357ad6956b8a86933712368ca50d23 /gcc/except.h
parent8051b17802cf05b70177ae9a370940ba677f1add (diff)
downloadgcc-fb13d4d024b03ae9c2e43171ebd43babd6ebb4e2.tar.gz
except.c (can_throw): See through a SEQUENCE.
* except.c (can_throw): See through a SEQUENCE. (nothrow_function_p): New fn. * except.h: Declare it. * function.c (current_function_nothrow): New var. (prepare_function_start): Initialize it. * output.h: Declare it. * toplev.c (rest_of_compilation): Set it. * dwarf2out.c (dwarf2out_begin_prologue): Use it. From-SVN: r32449
Diffstat (limited to 'gcc/except.h')
-rw-r--r--gcc/except.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/except.h b/gcc/except.h
index a1408c37ca7..1087bc1dcfe 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -427,6 +427,10 @@ extern struct label_node *outer_context_label_stack;
extern rtx exception_handler_labels;
+/* Return nonzero if nothing in this function can throw. */
+
+extern int nothrow_function_p PARAMS ((void));
+
/* Performs optimizations for exception handling, such as removing
unnecessary exception regions. Invoked from jump_optimize (). */