diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-20 00:49:13 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-20 00:49:13 +0000 |
commit | 7cb6ef9cb9d0e20a63da12d8a976db77d38c5e39 (patch) | |
tree | 8fe10615c6c1ebde7f73b98b8f2e1d6797bb0b38 /gcc/except.h | |
parent | 0b5e8ccdc811e7a1d5360e2f47d40363a8a77c3e (diff) | |
download | gcc-7cb6ef9cb9d0e20a63da12d8a976db77d38c5e39.tar.gz |
* except.c (current_function_has_exception_handlers): New.
* except.h: Declare it.
* sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
Combine tests that disable all sibcalls for the function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51054 138bc75d-0d04-0410-961f-82ee72b054a4
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 f543c46949f..27dc7143f6c 100644 --- a/gcc/except.h +++ b/gcc/except.h @@ -120,6 +120,7 @@ extern void maybe_remove_eh_handler PARAMS ((rtx)); extern void convert_from_eh_region_ranges PARAMS ((void)); extern void convert_to_eh_region_ranges PARAMS ((void)); extern void find_exception_handler_labels PARAMS ((void)); +extern bool current_function_has_exception_handlers PARAMS ((void)); extern void output_function_exception_table PARAMS ((void)); extern void expand_builtin_unwind_init PARAMS ((void)); |