This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69261] [6 Regression] Copying char arrays during constexpr evaluation does not work reliably
- 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: Wed, 02 Mar 2016 02:46:50 +0000
- Subject: [Bug c++/69261] [6 Regression] Copying char arrays during constexpr evaluation does not work reliably
- Auto-submitted: auto-generated
- References: <bug-69261-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69261
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Mar 2 02:46:12 2016
New Revision: 233883
URL: https://gcc.gnu.org/viewcvs?rev=233883&root=gcc&view=rev
Log:
PR c++/69261
* constexpr.c (find_array_ctor_elt): Handle splitting RANGE_EXPR.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-array2.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/constexpr.c