summaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-09 20:34:52 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-09 20:34:52 +0000
commit00dd2e9ea804989f813c9a71256a930f075495b5 (patch)
treed6b66c9ef5d6a7003c13b1e76cfe2cc51c1fe8f3 /gcc/print-tree.c
parent2e47886e15d2e62e9ae81726012ecd32a66df0d3 (diff)
downloadgcc-00dd2e9ea804989f813c9a71256a930f075495b5.tar.gz
* tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
(TREE_NOTHROW): Rename from TREE_RAISES. * toplev.c (rest_of_compilation): Set it. * print-tree.c (print_node): Adjust. * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES. (stabilize_reference_1, get_unwidened, get_narrower): Likewise. * calls.c (emit_call_1): Add 'nothrow' parm. Add REG_EH_REGION note as appropriate. (libfunc_nothrow): New fn. (emit_library_call, emit_library_call_value): Use it. (expand_call): Check TREE_NOTHROW. cp: * call.c (build_call): Set TREE_NOTHROW on the CALL_EXPR as appropriate. * decl.c (define_function): Set TREE_NOTHROW on the FUNCTION_DECL. * except.c (call_eh_info, alloc_eh_object, expand_throw): Set TREE_NOTHROW or TREE_THIS_VOLATILE on the function as appropriate. * rtti.c (build_runtime_decl, get_tinfo_decl, build_dynamic_cast_1, expand_si_desc, expand_class_desc, expand_ptr_desc, expand_attr_desc, expand_generic_desc): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32453 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 4d1b4559d51..2ffd4424a13 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -301,8 +301,8 @@ print_node (file, prefix, node, indent)
fputs (" asm_written", file);
if (TREE_USED (node))
fputs (" used", file);
- if (TREE_RAISES (node))
- fputs (" raises", file);
+ if (TREE_NOTHROW (node))
+ fputs (" nothrow", file);
if (!ggc_p && TREE_PERMANENT (node))
fputs (" permanent", file);
if (TREE_PUBLIC (node))