Commit e6ad28c3 by Richard Biener Committed by Richard Biener

tree-pretty-print.c (dump_generic_node): Allow to dump both (D) and (ab) for SSA_NAMEs.

2013-10-11  Richard Biener  <rguenther@suse.de>

	* 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.

From-SVN: r203426
parent 000ebb92
2013-10-11 Richard Biener <rguenther@suse.de>
* 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 <thomas@codesourcery.com>
* tree.h (OMP_CLAUSE_CODE): Remove duplicate definition.
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment