[Bug c++/67104] [5 regression] Constant expression factory function initializes std::array with static storage duration strangely
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 17 15:45:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67104
--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Aug 17 15:44:29 2015
New Revision: 226940
URL: https://gcc.gnu.org/viewcvs?rev=226940&root=gcc&view=rev
Log:
PR c++/67104
* constexpr.c (cxx_eval_array_reference): Handle sparse
CONSTRUCTORs.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-array1.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list