aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2009-03-28 18:55:25 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2009-03-28 17:55:25 +0000
commitfe89fbc56dd937c74ebfe7338fe785699386cb59 (patch)
tree71b5742a48b64212e619cde0a156cbe731404f0c /gcc/dwarf2out.c
parentb3bf8855c071b86fb3403f0d3e4d415702cb07ea (diff)
downloadgcc-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/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 9bab2a4..1bc1730 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -3231,7 +3231,7 @@ dwarf2out_begin_prologue (unsigned int line ATTRIBUTE_UNUSED,
fde->dw_fde_end = NULL;
fde->dw_fde_cfi = NULL;
fde->funcdef_number = current_function_funcdef_no;
- fde->nothrow = TREE_NOTHROW (current_function_decl);
+ fde->nothrow = crtl->nothrow;
fde->uses_eh_lsda = crtl->uses_eh_lsda;
fde->all_throwers_are_sibcalls = crtl->all_throwers_are_sibcalls;
fde->drap_reg = INVALID_REGNUM;