Commit d7806def by Richard Guenther Committed by Richard Biener

tree-pretty-print.c (dump_generic_node): Dump void types as void.

2010-09-07  Richard Guenther  <rguenther@suse.de>

	* tree-pretty-print.c (dump_generic_node): Dump void types
	as void.

From-SVN: r163944
parent f34504a3
2010-09-07 Richard Guenther <rguenther@suse.de>
* tree-pretty-print.c (dump_generic_node): Dump void types
as void.
2010-09-07 Bernd Schmidt <bernds@codesourcery.com> 2010-09-07 Bernd Schmidt <bernds@codesourcery.com>
PR target/43137 PR target/43137
......
...@@ -732,6 +732,8 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, ...@@ -732,6 +732,8 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
pp_decimal_int (buffer, TYPE_PRECISION (node)); pp_decimal_int (buffer, TYPE_PRECISION (node));
pp_string (buffer, ">"); pp_string (buffer, ">");
} }
else if (TREE_CODE (node) == VOID_TYPE)
pp_string (buffer, "void");
else else
pp_string (buffer, "<unnamed type>"); pp_string (buffer, "<unnamed type>");
} }
......
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