diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-07 09:57:56 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-07 09:57:56 +0000 |
commit | d91b94e0c0dffeff3231844d2907f40a235a695f (patch) | |
tree | 2b55e205bbfb8f5c4418f4a26374803ed7ce33ed | |
parent | 97d67dff0eb93de72ead18e04efdb776a4d9ebde (diff) | |
download | gcc-d91b94e0c0dffeff3231844d2907f40a235a695f.tar.gz |
2010-09-07 Richard Guenther <rguenther@suse.de>
* tree-pretty-print.c (dump_generic_node): Dump void types
as void.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163944 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-pretty-print.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f5850181f1d..7560ab36fff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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> PR target/43137 diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index 7a0a3b50189..44edbb071dd 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -732,6 +732,8 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, pp_decimal_int (buffer, TYPE_PRECISION (node)); pp_string (buffer, ">"); } + else if (TREE_CODE (node) == VOID_TYPE) + pp_string (buffer, "void"); else pp_string (buffer, "<unnamed type>"); } |