https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65579

--- Comment #6 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Nov  6 17:45:55 2017
New Revision: 254461

URL: https://gcc.gnu.org/viewcvs?rev=254461&root=gcc&view=rev
Log:
/cp
2017-11-06  Paolo Carlini  <paolo.carl...@oracle.com>

        PR c++/65579
        * decl2.c (finish_static_data_member_decl): If there's an initializer,
        complete the type and re-apply the quals.

/testsuite
2017-11-06  Paolo Carlini  <paolo.carl...@oracle.com>

        PR c++/65579
        * g++.dg/cpp0x/constexpr-template11.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-template11.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to