https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87364
--- Comment #7 from Jeffrey A. Law <law at gcc dot gnu.org> --- Author: law Date: Fri Oct 12 03:35:48 2018 New Revision: 265077 URL: https://gcc.gnu.org/viewcvs?rev=265077&root=gcc&view=rev Log: PR c++/87364 * c-pretty-print.h (pp_c_type_cast): Prototype. (pp_c_integer_constant): Likewise. * c-pretty-print.c (pp_c_type_cast): No longer static. (pp_c_integer_constant): Likewise. (pp_c_enumeration_constant): Fix loop termination when finding name of constant. No longer returns a value. Call pp_c_integer_constant. (c_pretty_printer::constant): Update for changes to pp_c_enumeration_constant. PR c++/87364 * cxx-pretty-print.c (pp_cxx_enumeration_constant): New function. (cxx_pretty_printer::constant): Use it. Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-pretty-print.c trunk/gcc/c-family/c-pretty-print.h trunk/gcc/cp/ChangeLog trunk/gcc/cp/cxx-pretty-print.c