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
This commit is contained in:
Richard Biener 2013-10-11 11:28:49 +00:00 committed by Richard Biener
parent 000ebb9242
commit e6ad28c368
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -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: