[Bug c++/51489] constexpr not working consistently

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 2 02:33:00 GMT 2016


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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Mar  2 02:32:44 2016
New Revision: 233878

URL: https://gcc.gnu.org/viewcvs?rev=233878&root=gcc&view=rev
Log:
        PR c++/51489

        * constexpr.c (cxx_eval_binary_expression): Don't VERIFY_CONSTANT
        the operands.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-array4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c


More information about the Gcc-bugs mailing list