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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Nov 20 12:57:50 2017
New Revision: 254952

URL: https://gcc.gnu.org/viewcvs?rev=254952&root=gcc&view=rev
Log:
        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:
    trunk/gcc/testsuite/g++.dg/ext/constexpr-pr82781.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to