[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 18:42:00 GMT 2015


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

--- Comment #13 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Aug 17 18:42:04 2015
New Revision: 226949

URL: https://gcc.gnu.org/viewcvs?rev=226949&root=gcc&view=rev
Log:
        PR c++/67104
        * constexpr.c (array_index_cmp, find_array_ctor_elt): New.
        (cxx_eval_array_reference, cxx_eval_store_expression): Use them.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c



More information about the Gcc-bugs mailing list