expr.c
8.92 KB
-
PR c++/86219 - ICE with erroneous initializer in template. · e56f6629
* constexpr.c (fold_non_dependent_expr): Add complain parm. * call.c, expr.c, init.c, pt.c, semantics.c, typeck.c, typeck2.c: Pass it. * call.c (build_cxx_call): Don't mess with builtins in a template. * typeck2.c (store_init_value): If fold_non_dependent_expr didn't produce a constant value, go back to the uninstantiated form. From-SVN: r261972
Jason Merrill committed