https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61951
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> --- Thanks Jakub. Now that I notice that specific line and you confirmed that the warning is intentional in the non-lambda case, I believe we can close the bug.