summaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-24 04:04:06 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-24 04:04:06 +0000
commit4b4db81842d45c06e2227cc1744cc40cf5c3fff3 (patch)
tree89b08e0a561773273c363cd6cce3def64be0ad7f /gcc/print-tree.c
parentee6436e0734d0d42d3584376d400e9d33660c37b (diff)
downloadgcc-4b4db81842d45c06e2227cc1744cc40cf5c3fff3.tar.gz
* tree.h (TREE_SET_PERMANENT): New macro. Document conditions
under which TREE_PERMANENT will be set. * tree.c (make_node, copy_node, make_tree_vec, tree_cons, build1): Use TREE_SET_PERMANENT. * print-tree.c (print_node): Don't report value of TREE_PERMANENT if ggc_p is true. * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to decide whether to give a type a new alias set. * objc/objc-act.c (build_objc_string_object): Never copy the string. * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective of value of 'obstack'. * f/com.c (ffecom_type_permanent_copy_): Delete unused function. (finish_decl): Don't change TREE_PERMANENT (DECL_INITIAL (decl)). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32128 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 7c82d0ad373..3bef9146c74 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -301,7 +301,7 @@ print_node (file, prefix, node, indent)
fputs (" used", file);
if (TREE_RAISES (node))
fputs (" raises", file);
- if (TREE_PERMANENT (node))
+ if (!ggc_p && TREE_PERMANENT (node))
fputs (" permanent", file);
if (TREE_PUBLIC (node))
fputs (" public", file);