https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71837
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|4.9.4 |7.0 Summary|[4.9/5/6/7 Regression] ICE |[4.9/5/6 Regression] ICE on |on valid C++14 code with |valid C++14 code with |initialized lambda capture: |initialized lambda capture: |in tsubst_pack_expansion, |in tsubst_pack_expansion, |at cp/pt.c:10905 |at cp/pt.c:10905 --- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- Fixed for GCC 7. The testcase is strange enough that I'm not thinking to backport the fix.