PR c++/86219 - ICE with erroneous initializer in template.
commit3734de15d818eaf5074e991f9285c9be1bd712f7
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jun 2018 21:57:32 +0000 (22 21:57 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jun 2018 21:57:32 +0000 (22 21:57 +0000)
treee13d1c13e2d8cf15d57c13e14443e4d9449702e4
parent6f4657729589a93854a4ee41594466a036aa7778
PR c++/86219 - ICE with erroneous initializer in template.

* constexpr.c (fold_non_dependent_expr): Add complain parm.
* typeck2.c (store_init_value): Pass tf_warning_or_error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@261973 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/cp/cp-tree.h
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/template/conv15.C [new file with mode: 0644]