[Bug c++/97938] [9/10 Regression] g++ crash when inferring type of auto parameter pack in lambda capture
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 24 08:33:44 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97938
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Christophe Lyon
<clyon@gcc.gnu.org>:
https://gcc.gnu.org/g:ba19b5543d31a76f494e76c32a548d70ac4d3cc1
commit r9-9553-gba19b5543d31a76f494e76c32a548d70ac4d3cc1
Author: Christophe Lyon <christophe.lyon@linaro.org>
Date: Mon May 24 07:35:44 2021 +0000
c++: lambda pack init-capture within generic lambda
In gcc-9-branch, the testsuite does not support the c++20 target
selector: use c++2a instead, to avoid Dejagnu errors when running the
testsuite.
2021-05-24 Christophe Lyon <christophe.lyon@linaro.org>
PR c++/97938
gcc/testsuite/
* g++.dg/cpp2a/lambda-pack-init6.C: Use c++2a target selector.
More information about the Gcc-bugs
mailing list