diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eb5a27b16ea..970aa1ff431 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2013-10-11 Richard Biener + + * tree-pretty-print.c (dump_generic_node): Allow to dump + both (D) and (ab) for SSA_NAMEs. Mark INTEGER_CSTs with + (OVF) if TREE_OVERFLOW is set. + 2013-10-11 Thomas Schwinge * tree.h (OMP_CLAUSE_CODE): Remove duplicate definition. diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index df0f8b52ec6..b10b7e254a3 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -1233,6 +1233,8 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, else pp_double_int (buffer, tree_to_double_int (node), TYPE_UNSIGNED (TREE_TYPE (node))); + if (TREE_OVERFLOW (node)) + pp_string (buffer, "(OVF)"); break; case REAL_CST: @@ -2220,10 +2222,10 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, spc, flags, false); pp_underscore (buffer); pp_decimal_int (buffer, SSA_NAME_VERSION (node)); + if (SSA_NAME_IS_DEFAULT_DEF (node)) + pp_string (buffer, "(D)"); if (SSA_NAME_OCCURS_IN_ABNORMAL_PHI (node)) pp_string (buffer, "(ab)"); - else if (SSA_NAME_IS_DEFAULT_DEF (node)) - pp_string (buffer, "(D)"); break; case WITH_SIZE_EXPR: