From: Andi Kleen Date: Sun, 2 Jul 2017 00:18:37 +0000 (+0000) Subject: Always print attributes when dumping tree X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86ae8a3d6664c957337af20d2b56c461152696bd;p=gcc.git 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 * print-tree.c (print_node): Print all attributes. From-SVN: r249877 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 36696807dc3..bbcff7463e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-07-01 Andi Kleen + + * print-tree.c (print_node): Print all attributes. + 2017-07-01 Jan Hubicka * cfg.c (scale_bbs_frequencies): New function. diff --git a/gcc/print-tree.c b/gcc/print-tree.c index ea26a0b022e..6a237cc1253 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),