https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64266
--- Comment #13 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Thu Nov 1 09:19:31 2018 New Revision: 265711 URL: https://gcc.gnu.org/viewcvs?rev=265711&root=gcc&view=rev Log: Make __PRETTY_FUNCTION__-like functions mergeable string csts (PR c++/64266). 2018-11-01 Martin Liska <mli...@suse.cz> Jason Merrill <ja...@redhat.com> PR c++/64266 PR bootstrap/70422 PR ipa/81277 * cp-tree.h (DECL_FNAME_P): New macro. * decl.c (cp_make_fname_decl): Set DECL_DECLARED_CONSTEXPR_P, DECL_VALUE_EXPR, DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P. (cp_finish_decl): * lambda.c (is_capture_proxy): Use DECL_FNAME_P. * pt.c (tsubst_expr): Handle DECL_PRETTY_FUNCTION_P. 2018-11-01 Martin Liska <mli...@suse.cz> Jason Merrill <ja...@redhat.com> PR c++/64266 PR bootstrap/70422 PR ipa/81277 * g++.dg/cpp0x/constexpr-__func__2.C: Make it a compilation test. * g++.old-deja/g++.ext/pretty4.C: Remove as the run-time assumptions are not longer valid. Removed: trunk/gcc/testsuite/g++.old-deja/g++.ext/pretty4.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/decl.c trunk/gcc/cp/lambda.c trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-__func__2.C