[Bug c++/56973] [DR 696] crash when capturing variables in nested lambdas

2024-07-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56973 --- Comment #9 from Jason Merrill --- *** Bug 79104 has been marked as a duplicate of this bug. ***

[Bug c++/56973] [DR 696] crash when capturing variables in nested lambdas

2018-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56973 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/56973] [DR 696] crash when capturing variables in nested lambdas

2018-03-02 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56973 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot com --- Comm

[Bug c++/56973] [DR 696] crash when capturing variables in nested lambdas

2017-09-28 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56973 --- Comment #6 from Jason Merrill --- Author: jason Date: Thu Sep 28 19:39:45 2017 New Revision: 253266 URL: https://gcc.gnu.org/viewcvs?rev=253266&root=gcc&view=rev Log: PR c++/56973, DR 696 - capture constant variables only as needed.

[Bug c++/56973] [DR 696] crash when capturing variables in nested lambdas

2017-09-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56973 --- Comment #5 from Jason Merrill --- Nathan mentioned today that we have the inverse problem as well: after we've captured i, we should still be able to use its constant value. Here's an example of things that ought to work and mostly don't: i

[Bug c++/56973] [DR 696] crash when capturing variables in nested lambdas

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56973 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Summ