https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70691
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-22 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |5.4 Ever confirmed|0 |1 --- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Fixed in commit 3311d302f541e1988be554fa5385695603131644 Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Sun Dec 20 18:38:37 2015 +0000 PR c++/67411 * lambda.c (generic_lambda_fn_p): Split out from... (maybe_add_lambda_conv_op): ...here. * semantics.c (process_outer_var_ref): Don't defer maybe-constant variables in a generic lambda. * pt.c (instantiate_non_dependent_or_null): New. * init.c (constant_value_1): Use it. * cp-tree.h: Declare it and generic_lambda_fn_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231863 138bc75d-0d04-0410-961f-82ee72b054a4