aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2017-07-02 00:18:37 +0000
committerAndi Kleen <ak@gcc.gnu.org>2017-07-02 00:18:37 +0000
commit86ae8a3d6664c957337af20d2b56c461152696bd (patch)
treeaa318ce9bf8ae7f42e3ef47fca5d7407ad44392a /gcc/print-tree.c
parent01be4b2d157c65c2f5b09047b3ab1c1ce22a03d6 (diff)
downloadgcc-86ae8a3d6664c957337af20d2b56c461152696bd.zip
gcc-86ae8a3d6664c957337af20d2b56c461152696bd.tar.gz
gcc-86ae8a3d6664c957337af20d2b56c461152696bd.tar.bz2
Always print attributes when dumping tree
A tree type dump currently doesn't print the attributes. Since we have so many now and they do many interesting things dumping them can be useful. So dump them by default for tree type dumps. gcc/: 2017-07-01 Andi Kleen <ak@linux.intel.com> * print-tree.c (print_node): Print all attributes. From-SVN: r249877
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 ea26a0b..6a237cc 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -487,7 +487,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent,
if (CODE_CONTAINS_STRUCT (code, TS_DECL_COMMON))
{
- print_node_brief (file, "attributes",
+ print_node (file, "attributes",
DECL_ATTRIBUTES (node), indent + 4);
if (code != PARM_DECL)
print_node_brief (file, "initial", DECL_INITIAL (node),