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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jun 22 21:57:32 2018
New Revision: 261973

URL: https://gcc.gnu.org/viewcvs?rev=261973&root=gcc&view=rev
Log:
        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.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/template/conv15.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/constexpr.c
    branches/gcc-8-branch/gcc/cp/cp-tree.h
    branches/gcc-8-branch/gcc/cp/typeck2.c

Reply via email to