[Bug c++/85209] [8 Regression] ICE with lambda and structured binding
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 5 21:31:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85209
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Apr 5 21:30:47 2018
New Revision: 259156
URL: https://gcc.gnu.org/viewcvs?rev=259156&root=gcc&view=rev
Log:
PR c++/85209
* pt.c (tsubst_decomp_names): Don't fail or ICE if DECL_CHAIN (decl3)
is not prev, if prev == decl.
* g++.dg/cpp1z/decomp39.C: New test.
* g++.dg/cpp1z/decomp40.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp1z/decomp39.C
trunk/gcc/testsuite/g++.dg/cpp1z/decomp40.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list