re PR c++/63925 (ICE with C++14 constexpr when trying to constexprify std::min)
authorJason Merrill <jason@redhat.com>
Tue, 18 Nov 2014 19:09:55 +0000 (14:09 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 18 Nov 2014 19:09:55 +0000 (14:09 -0500)
commitac2f8d26b5a601186735d1341eaec7779e9fa7fe
tree22d1fcaf625bb8242c9bdcfce0bbeb522fbd196d
parentcafc9af2ea70fde45b287625de68423a233a24d9
re PR c++/63925 (ICE with C++14 constexpr when trying to constexprify std::min)

PR c++/63925
* constexpr.c (cxx_eval_increment_expression): Use POINTER_PLUS_EXPR.

From-SVN: r217731
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp1y/constexpr-incr1.C