diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-09 13:55:27 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-09 13:55:27 +0000 |
commit | 55af3bae674945beea2845ed091e5ea341e8aabf (patch) | |
tree | c19ccfd35313d032491d5930dbdfaa3a8a2991cc /gcc/print-tree.c | |
parent | 3a54beafaa08337dab2968b43ffc392b37cc9a71 (diff) | |
parent | 5f35dd0e122d3aa3cccd4a32c912c25f60064ee6 (diff) |
Merge with trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@204616 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r-- | gcc/print-tree.c | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c index d6cf945d3853..f9e03424c36f 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -297,6 +297,8 @@ print_node (FILE *file, const char *prefix, tree node, int indent) if (TYPE_P (node) ? TYPE_READONLY (node) : TREE_READONLY (node)) fputs (" readonly", file); + if (TYPE_P (node) && TYPE_ATOMIC (node)) + fputs (" atomic", file); if (!TYPE_P (node) && TREE_CONSTANT (node)) fputs (" constant", file); else if (TYPE_P (node) && TYPE_SIZES_GIMPLIFIED (node)) @@ -942,30 +944,6 @@ print_node (FILE *file, const char *prefix, tree node, int indent) fprintf (file, ">"); } -/* Print the tree vector VEC in full on file FILE, preceded by PREFIX, - starting in column INDENT. */ - -void -print_vec_tree (FILE *file, const char *prefix, vec<tree, va_gc> *vec, int indent) -{ - tree elt; - unsigned ix; - - /* Indent to the specified column, since this is the long form. */ - indent_to (file, indent); - - /* Print the slot this node is in, and its code, and address. */ - fprintf (file, "%s <VEC", prefix); - dump_addr (file, " ", vec->address ()); - - FOR_EACH_VEC_ELT (*vec, ix, elt) - { - char temp[10]; - sprintf (temp, "elt %d", ix); - print_node (file, temp, elt, indent + 4); - } -} - /* Print the node NODE on standard error, for debugging. Most nodes referred to by this one are printed recursively |