diff options
author | Joseph Myers <joseph@codesourcery.com> | 2007-03-26 20:56:59 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2007-03-26 20:56:59 +0100 |
commit | 71175bf368bd9b8d5aff585f6ad9890105e5382a (patch) | |
tree | d030e2d485a627fd327917b5a88ff4ade799f0fe /gcc/tree-pretty-print.c | |
parent | 93242b9c1b2e15fd90be6d6b0513cca9b2969c22 (diff) | |
download | gcc-71175bf368bd9b8d5aff585f6ad9890105e5382a.zip gcc-71175bf368bd9b8d5aff585f6ad9890105e5382a.tar.gz gcc-71175bf368bd9b8d5aff585f6ad9890105e5382a.tar.bz2 |
tree-pretty-print.c (dump_generic_node): Report precision of unnamed integer types.
* tree-pretty-print.c (dump_generic_node): Report precision of
unnamed integer types.
From-SVN: r123224
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 8d5ca27..3f082f0 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>"); } |