re PR c++/51489 (constexpr not working consistently)
authorJason Merrill <jason@redhat.com>
Wed, 2 Mar 2016 02:32:44 +0000 (21:32 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 2 Mar 2016 02:32:44 +0000 (21:32 -0500)
commitc8a66fc97b4c4167bfc71a5017d61e7ed51d4177
treeef8fe75c7a05fccb20d3e94e4e0ae583d3f2e8fa
parent7f0e23e931064d8e8758e01d95bfb89b8fa32e6e
re PR c++/51489 (constexpr not working consistently)

PR c++/51489

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

From-SVN: r233878
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp1y/constexpr-array4.C [new file with mode: 0644]