[Bug c++/118312] Const int captured if used by nested lambda (if default captured by reference)

2025-01-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118312 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/118312] Const int captured if used by nested lambda (if default captured by reference)

2025-01-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118312 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/118312] Const int captured if used by nested lambda

2025-01-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118312 Andrew Pinski changed: What|Removed |Added Summary|Nested lambda with a single |Const int captured if used