https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82781
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Dec 15 21:50:00 2017 New Revision: 255707 URL: https://gcc.gnu.org/viewcvs?rev=255707&root=gcc&view=rev Log: Backported from mainline 2017-11-20 Jakub Jelinek <ja...@redhat.com> PR c++/82781 * constexpr.c (cxx_eval_vector_conditional_expression): New function. (cxx_eval_constant_expression) <case VEC_COND_EXPR>: Use it instead of cxx_eval_conditional_expression. * g++.dg/ext/constexpr-pr82781.C: New test. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/ext/constexpr-pr82781.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/constexpr.c branches/gcc-7-branch/gcc/testsuite/ChangeLog