diff options
author | Jan Hubicka <jh@suse.cz> | 2009-03-28 18:55:25 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2009-03-28 17:55:25 +0000 |
commit | fe89fbc56dd937c74ebfe7338fe785699386cb59 (patch) | |
tree | 71b5742a48b64212e619cde0a156cbe731404f0c /gcc/function.h | |
parent | b3bf8855c071b86fb3403f0d3e4d415702cb07ea (diff) | |
download | gcc-fe89fbc56dd937c74ebfe7338fe785699386cb59.zip gcc-fe89fbc56dd937c74ebfe7338fe785699386cb59.tar.gz gcc-fe89fbc56dd937c74ebfe7338fe785699386cb59.tar.bz2 |
dwarf2out.c (dwarf2out_begin_prologue): Use crtl->nothrow
* 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.
From-SVN: r145202
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 31d223a..7079797 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) |