re PR c++/77482 (Segfault when compiling ill-formed constexpr code)
authorJakub Jelinek <jakub@redhat.com>
Fri, 16 Sep 2016 20:25:17 +0000 (22:25 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 16 Sep 2016 20:25:17 +0000 (22:25 +0200)
commit8f03e02f36105e7b3c7d21ce2368f3e3147d091a
treec55cb0cf1f4c18e38d04128375cd5a2dd8cd2b03
parente80cb545aa1c6c7a71b07cbe0f3527afadd3630f
re PR c++/77482 (Segfault when compiling ill-formed constexpr code)

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.

From-SVN: r240198
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-77482.C [new file with mode: 0644]