From: ak Date: Sun, 2 Jul 2017 00:18:37 +0000 (+0000) Subject: Always print attributes when dumping tree X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98fa554593baddab0a7a266ab34e735e2884c4db;p=thirdparty%2Fgcc.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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249877 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 36696807dc34..bbcff7463e6c 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 ea26a0b022ef..6a237cc1253e 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),