diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-01-30 15:03:10 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-01-30 15:03:10 +0000 |
commit | 6ce18e5b46472b2623e3f0b1514eae2882e55b74 (patch) | |
tree | dd7588129117cca535ab094b9c910b2b0e1c8ab9 /gcc/cp/error.c | |
parent | 0ef29c53eeb756d4426f26daf554cdd4cbe476dc (diff) | |
download | gcc-6ce18e5b46472b2623e3f0b1514eae2882e55b74.tar.gz |
/cp
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/33465
* error.c (dump_expr): Handle FIX_TRUNC_EXPR and FLOAT_EXPR.
/testsuite
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/33465
* g++.dg/parse/error34.C: New.
* g++.dg/parse/error35.C: Likewise.
/cp
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/38655
* error.c (dump_type_prefix, dump_type_suffix): Handle FIXED_POINT_TYPE.
/testsuite
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/38655
* g++.dg/cpp0x/decltype-38655.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143790 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r-- | gcc/cp/error.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 16c962809d7..e2cb8bf0ecc 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -626,6 +626,7 @@ dump_type_prefix (tree t, int flags) case TYPEOF_TYPE: case DECLTYPE_TYPE: case TYPE_PACK_EXPANSION: + case FIXED_POINT_TYPE: dump_type (t, flags); pp_base (cxx_pp)->padding = pp_before; break; @@ -724,6 +725,7 @@ dump_type_suffix (tree t, int flags) case TYPEOF_TYPE: case DECLTYPE_TYPE: case TYPE_PACK_EXPANSION: + case FIXED_POINT_TYPE: break; default: @@ -2073,6 +2075,8 @@ dump_expr (tree t, int flags) case LTGT_EXPR: case COMPLEX_EXPR: case BIT_FIELD_REF: + case FIX_TRUNC_EXPR: + case FLOAT_EXPR: pp_expression (cxx_pp, t); break; |