https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71075
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- This should fix it: --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -1269,6 +1269,14 @@ dump_decl (cxx_pretty_printer *pp, tree t, int flags) dump_type (pp, t, flags); break; + case VOID_CST: + case INTEGER_CST: + case REAL_CST: + case STRING_CST: + case COMPLEX_CST: + pp->constant (t); + break; + default: pp_unsupported_tree (pp, t); /* Fall through to error. */