diff options
author | Jan Hubicka <jh@suse.cz> | 2009-03-28 17:55:25 +0000 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2009-03-28 17:55:25 +0000 |
commit | 3adae1c4c947af49aa01b216fb5f60876983d1e5 (patch) | |
tree | 71b5742a48b64212e619cde0a156cbe731404f0c /gcc/function.h | |
parent | 7bd985d4c36176cfcd878aa78255860fca02e6d2 (diff) |
* dwarf2out.c (dwarf2out_begin_prologue): Use crtl->nothrow
* tree-eh.c (stmt_could_throw_p): Remove check for WEAK decls.
* function.h (rtl_data): Add nothrow flag.
* except.c (set_nothrow_function_flags): Use crtl->nothrow;
set DECL_NOTHROW for AVAILABLE functions.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145202 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h index 31d223a3d39..70797974bf0 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -441,6 +441,11 @@ struct rtl_data GTY(()) /* True if dbr_schedule has already been called for this function. */ bool dbr_scheduled_p; + + /* True if current function can not throw. Unlike + TREE_NOTHROW (current_function_decl) it is set even for overwritable + function where currently compiled version of it is nothrow. */ + bool nothrow; }; #define return_label (crtl->x_return_label) |