]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Always print attributes when dumping tree
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Jul 2017 00:18:37 +0000 (00:18 +0000)
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Jul 2017 00:18:37 +0000 (00:18 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249877 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/print-tree.c

index 36696807dc34e3bcfeade35a45e8a86ea233f4ef..bbcff7463e6cce290d6cae88eb3123ead6535da0 100644 (file)
@@ -1,3 +1,7 @@
+2017-07-01  Andi Kleen  <ak@linux.intel.com>
+
+        * print-tree.c (print_node): Print all attributes.
+
 2017-07-01  Jan Hubicka  <hubicka@ucw.cz>
 
        * cfg.c (scale_bbs_frequencies): New function.
index ea26a0b022ef4c767054d76dc7ad1639b37532c8..6a237cc1253ef65eaed58ab9fa13de42576c730b 100644 (file)
@@ -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),