https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89767
--- Comment #8 from Jakub Jelinek ---
Author: jakub
Date: Thu Mar 21 22:01:02 2019
New Revision: 269860
URL: https://gcc.gnu.org/viewcvs?rev=269860&root=gcc&view=rev
Log:
PR c++/89767
* parser.c (cp_parser_lambda_introducer): Add
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89767
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89767
--- Comment #6 from Jakub Jelinek ---
Ah, so the reason why __t PARM_DECL is not normally removed is that we reuse
IDENTIFIER_MARKED for something different, in particular:
/* If TREE_TYPE isn't set, we're still in the introducer, so check
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89767
Jakub Jelinek changed:
What|Removed |Added
CC||nathan at gcc dot gnu.org
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89767
--- Comment #4 from Jakub Jelinek ---
GCC 7.x and earlier used to do:
/* The local structure or class can't use parameters of
the containing function anyway. */
if (DECL_CONTEXT (oldlocal) != current_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89767
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89767
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89767
Richard Biener changed:
What|Removed |Added
Keywords||ice-on-valid-code
Priority|P3