https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80947
--- Comment #14 from Paolo Carlini <paolo.carlini at oracle dot com> --- I see. I'm adding the testcase, but it's still a 6/7 Regression, hopefully part of the lambda overhaul can be easily backported.