[Bug c++/90842] [8 Regression] ICE in poplevel, at cp/decl.c:585
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 14 16:34:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90842
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:56728b264c1b0d9f193aa5e8b1702a1cd7a08868
commit r8-9982-g56728b264c1b0d9f193aa5e8b1702a1cd7a08868
Author: Jakub Jelinek <jakub@redhat.com>
Date: Fri Feb 14 12:34:46 2020 +0100
backport: re PR c++/90842 (ICE in poplevel, at cp/decl.c:585)
Backported from mainline
2019-11-21 Jakub Jelinek <jakub@redhat.com>
Jason Merrill <jason@redhat.com>
PR c++/90842
* parser.c (cp_parser_decl_specifier_seq): For concept or typedef
break early if CP_PARSER_FLAGS_ONLY_MUTABLE_OR_CONSTEXPR.
For type specifiers, set CP_PARSER_FLAGS_NO_TYPE_DEFINITIONS
if CP_PARSER_FLAGS_ONLY_MUTABLE_OR_CONSTEXPR is set.
* g++.dg/cpp1y/lambda-generic-90842.C: New test.
More information about the Gcc-bugs
mailing list