[Bug c++/69995] [5/6 Regression] [C++14] Invalid result when evaluating constexpr function

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 29 14:49:00 GMT 2016


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Feb 29 14:49:17 2016
New Revision: 233813

URL: https://gcc.gnu.org/viewcvs?rev=233813&root=gcc&view=rev
Log:
        PR c++/69995
        * constexpr.c (cxx_eval_store_expression): Unshare init.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-array3.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