This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/78743] [6 Regression] g++ segfaults when printing warning for captured constexpr variable
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 09 Dec 2016 10:10:05 +0000
- Subject: [Bug c++/78743] [6 Regression] g++ segfaults when printing warning for captured constexpr variable
- Auto-submitted: auto-generated
- References: <bug-78743-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78743
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |mpolacek at gcc dot gnu.org
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I think this was fixed with
commit e6db887a54f49ed28f49371d3326cd0143cc7f18
Author: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri Sep 16 20:25:17 2016 +0000
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240198
138bc75d-0d04-0410-961f-82ee72b054a4
I can backport the patch.