This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66921] [4.9/5/6 Regression] failure to determine size of static constexpr array that is nested within a templated class
- 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: Tue, 22 Dec 2015 21:49:57 +0000
- Subject: [Bug c++/66921] [4.9/5/6 Regression] failure to determine size of static constexpr array that is nested within a templated class
- Auto-submitted: auto-generated
- References: <bug-66921-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66921
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Dec 22 21:49:25 2015
New Revision: 231917
URL: https://gcc.gnu.org/viewcvs?rev=231917&root=gcc&view=rev
Log:
PR c++/66921
* decl.c (cp_complete_array_type): Allow an initializer that
already has array type.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-array14.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/decl.c