aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/print-tree.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 36696807..bbcff74 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
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),