https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77482
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Dec 7 22:27:27 2016 New Revision: 243382 URL: https://gcc.gnu.org/viewcvs?rev=243382&root=gcc&view=rev Log: Backported from mainline 2016-09-16 Jakub Jelinek <ja...@redhat.com> PR c++/77482 * error.c (dump_simple_decl): Only check DECL_DECLARED_CONCEPT_P if DECL_LANG_SPECIFIC is non-NULL. Fix up formatting. * g++.dg/cpp0x/constexpr-77482.C: New test. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-77482.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/error.c branches/gcc-6-branch/gcc/testsuite/ChangeLog