]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/print-tree.c
c-decl.c (build_compound_literal): Use TYPE_READONLY.
[gcc.git] / gcc / print-tree.c
index 2fe09967d74880a73a55783dccb601ca31ae939e..9dd9aaa2cd6a10afcd69f1b9289ec89aab71ddab 100644 (file)
@@ -245,11 +245,12 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
        indent_to (file, indent + 3);
     }
 
-  if (TREE_SIDE_EFFECTS (node))
+  if (!TYPE_P (node) && TREE_SIDE_EFFECTS (node))
     fputs (" side-effects", file);
-  if (TREE_READONLY (node))
+
+  if (TYPE_P (node) ? TYPE_READONLY (node) : TREE_READONLY (node))
     fputs (" readonly", file);
-  if (TREE_CONSTANT (node))
+  if (!TYPE_P (node) && TREE_CONSTANT (node))
     fputs (" constant", file);
   if (TREE_ADDRESSABLE (node))
     fputs (" addressable", file);
This page took 0.027201 seconds and 5 git commands to generate.