diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-26 19:56:59 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-26 19:56:59 +0000 |
commit | e4e0b8984a1c3467bb3b082955c6224e63d28f45 (patch) | |
tree | d030e2d485a627fd327917b5a88ff4ade799f0fe /gcc/tree-pretty-print.c | |
parent | 03dbd7ccbcef9995b52d4ed0738401424c2a81c4 (diff) | |
download | gcc-e4e0b8984a1c3467bb3b082955c6224e63d28f45.tar.gz |
* tree-pretty-print.c (dump_generic_node): Report precision of
unnamed integer types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123224 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r-- | gcc/tree-pretty-print.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index 8d5ca276ae8..3f082f0505d 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -571,6 +571,14 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, dump_generic_node (buffer, TREE_TYPE (node), spc, flags, false); } + else if (TREE_CODE (node) == INTEGER_TYPE) + { + pp_string (buffer, (TYPE_UNSIGNED (node) + ? "<unnamed-unsigned:" + : "<unnamed-signed:")); + pp_decimal_int (buffer, TYPE_PRECISION (node)); + pp_string (buffer, ">"); + } else pp_string (buffer, "<unnamed type>"); } |