https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56973
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
Summary|crash when capturing |[DR 696] crash when
|variables in nested lambdas |capturing variables in
| |nested lambdas
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
G++ still implements an early proposal for DR 696, whereby a reference to a
constant automatic variable from a lambda is replaced by the value of the
variable rather than implying a capture. We need to properly implement DR 696
such that odr-use implies a capture.