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++/70528] [5 Regression] bogus error: constructor required before non-static data member


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

--- Comment #14 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Apr 18 19:43:26 2016
New Revision: 235171

URL: https://gcc.gnu.org/viewcvs?rev=235171&root=gcc&view=rev
Log:
        PR c++/70690

        PR c++/70528
        * class.c (type_maybe_constexpr_default_constructor): New.
        (type_has_constexpr_default_constructor): Revert.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/init/array41.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/class.c

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