From: Andi Kleen <a...@linux.intel.com> 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.
Passes bootstrap and testing on x86_64-linux. gcc/: 2017-05-16 Andi Kleen <a...@linux.intel.com> * print-tree.c (print_node): Print all attributes. --- gcc/print-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/print-tree.c b/gcc/print-tree.c index e0db2dfe82e..f9af02f4e42 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -485,7 +485,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), -- 2.12.2