This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70528] [5 Regression] bogus error: constructor required before non-static data member
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Apr 2016 19:43:59 +0000
- Subject: [Bug c++/70528] [5 Regression] bogus error: constructor required before non-static data member
- Auto-submitted: auto-generated
- References: <bug-70528-4 at http dot gcc dot gnu dot org/bugzilla/>
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