aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pretty-print.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-pretty-print.cc')
-rw-r--r--gcc/tree-pretty-print.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/tree-pretty-print.cc b/gcc/tree-pretty-print.cc
index 6130c30..666b7a7 100644
--- a/gcc/tree-pretty-print.cc
+++ b/gcc/tree-pretty-print.cc
@@ -2500,7 +2500,11 @@ dump_generic_node (pretty_printer *pp, tree node, int spc, dump_flags_t flags,
}
pp_left_brace (pp);
if (TREE_CLOBBER_P (node))
- pp_string (pp, "CLOBBER");
+ {
+ pp_string (pp, "CLOBBER");
+ if (CLOBBER_KIND (node) == CLOBBER_EOL)
+ pp_string (pp, "(eol)");
+ }
else if (TREE_CODE (TREE_TYPE (node)) == RECORD_TYPE
|| TREE_CODE (TREE_TYPE (node)) == UNION_TYPE)
is_struct_init = true;