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

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


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

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

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

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

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