https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91058
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2019-07-02 Known to work| |10.0, 8.1.0, 8.3.0, 9.1.0 Ever confirmed|0 |1 Known to fail| |7.4.1 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- This was fixed for GCC 8 by r251433 "Reimplement handling of lambdas in templates." That was a very large patch and not appropriate to backport to gcc-7-branch. Given that C++17 support in GCC 7 (and 8) is experimental, I think this is not a priority to fix for the final GCC 7.x release.