[Bug c++/106864] Const int captured could be avoid even 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=106864 --- Comment #5 from Andrew Pinski --- prune_lambda_captures is supposed to prune these but it looks like it is not pruning it always.

[Bug c++/106864] Const int captured could be avoid even 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=106864 Andrew Pinski changed: What|Removed |Added Summary|Unexpected capture of |Const int captured could be