This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/78743] [6 Regression] g++ segfaults when printing warning for captured constexpr variable


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]