re PR c++/69203 (ICE in potential_constant_expression_1, at cp/constexpr.c:4754)
authorJason Merrill <jason@redhat.com>
Fri, 4 Mar 2016 22:53:29 +0000 (17:53 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 4 Mar 2016 22:53:29 +0000 (17:53 -0500)
commitd5bcd6d4d7be1017d9f2c416ecb0fd635d281de1
tree6a754a28255c74ea17c9e8fdea360e42c1894870
parente94da7c6f1576339f2d81cac560c88afbbf7ea61
re PR c++/69203 (ICE in potential_constant_expression_1, at cp/constexpr.c:4754)

PR c++/69203

* cp-tree.h (COND_EXPR_IS_VEC_DELETE): New.
* init.c (build_vec_delete_1): Set it.
* constexpr.c (potential_constant_expression_1) [COND_EXPR]: Check it.

From-SVN: r233987
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/testsuite/g++.dg/cpp0x/constexpr-delete2.C [new file with mode: 0644]