aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-02-24 04:04:06 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-02-24 04:04:06 +0000
commit23dfa477ce8745ab198836aa6e7096c8aa7a603b (patch)
tree89b08e0a561773273c363cd6cce3def64be0ad7f /gcc/print-tree.c
parent1e59bcc3071d8909494146db844644a9d4129b18 (diff)
downloadgcc-23dfa477ce8745ab198836aa6e7096c8aa7a603b.zip
gcc-23dfa477ce8745ab198836aa6e7096c8aa7a603b.tar.gz
gcc-23dfa477ce8745ab198836aa6e7096c8aa7a603b.tar.bz2
tree.h (TREE_SET_PERMANENT): New macro.
* 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)). From-SVN: r32128
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 7c82d0a..3bef914 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);