diff options
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r-- | gcc/cp/error.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 8595719..b77a94c 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -339,7 +339,10 @@ dump_type (tree t, int flags) else if (t == unknown_type_node) pp_string (cxx_pp, M_("<unresolved overloaded function type>")); else - gcc_unreachable (); + { + pp_cxx_cv_qualifier_seq (cxx_pp, t); + pp_cxx_tree_identifier (cxx_pp, TYPE_IDENTIFIER (t)); + } break; case TREE_LIST: @@ -477,10 +480,6 @@ dump_type (tree t, int flags) pp_cxx_right_paren (cxx_pp); break; - case NULLPTR_TYPE: - pp_string (cxx_pp, "std::nullptr_t"); - break; - default: pp_unsupported_tree (cxx_pp, t); /* Fall through to error. */ @@ -709,7 +708,6 @@ dump_type_prefix (tree t, int flags) case DECLTYPE_TYPE: case TYPE_PACK_EXPANSION: case FIXED_POINT_TYPE: - case NULLPTR_TYPE: dump_type (t, flags); pp_base (cxx_pp)->padding = pp_before; break; @@ -812,7 +810,6 @@ dump_type_suffix (tree t, int flags) case DECLTYPE_TYPE: case TYPE_PACK_EXPANSION: case FIXED_POINT_TYPE: - case NULLPTR_TYPE: break; default: |