* [Bug c++/99478] [9/10/11 Regression] ICE when decltype lambda in template list
2021-03-09 7:29 [Bug c++/99478] New: ICE when decltype lambda in template list hewillk at gmail dot com
@ 2021-03-09 15:00 ` mpolacek at gcc dot gnu.org
2021-04-14 1:31 ` jason at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-03-09 15:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99478
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
CC| |mpolacek at gcc dot gnu.org
Summary|ICE when decltype lambda in |[9/10/11 Regression] ICE
|template list |when decltype lambda in
| |template list
Priority|P3 |P2
Target Milestone|--- |9.4
Last reconfirmed| |2021-03-09
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r269972. Invalid, I think.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/99478] [9/10/11 Regression] ICE when decltype lambda in template list
2021-03-09 7:29 [Bug c++/99478] New: ICE when decltype lambda in template list hewillk at gmail dot com
2021-03-09 15:00 ` [Bug c++/99478] [9/10/11 Regression] " mpolacek at gcc dot gnu.org
@ 2021-04-14 1:31 ` jason at gcc dot gnu.org
2021-04-14 4:34 ` cvs-commit at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2021-04-14 1:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99478
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/99478] [9/10/11 Regression] ICE when decltype lambda in template list
2021-03-09 7:29 [Bug c++/99478] New: ICE when decltype lambda in template list hewillk at gmail dot com
2021-03-09 15:00 ` [Bug c++/99478] [9/10/11 Regression] " mpolacek at gcc dot gnu.org
2021-04-14 1:31 ` jason at gcc dot gnu.org
@ 2021-04-14 4:34 ` cvs-commit at gcc dot gnu.org
2021-04-14 4:34 ` [Bug c++/99478] [9/10 " jason at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-14 4:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99478
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>:
https://gcc.gnu.org/g:e1666ebd9ad31dbd8b9b933c883bdd882cfd1522
commit r11-8166-ge1666ebd9ad31dbd8b9b933c883bdd882cfd1522
Author: Jason Merrill <jason@redhat.com>
Date: Tue Apr 13 22:28:32 2021 -0400
c++: lambda in non-type template parm type [PR99478]
In this testcase, the non-type template parameter has the type of a
lambda-expression. This makes no sense because a lambda in template
context
is specified to be distinct between different specializations of the
template, even if the lambda is non-dependent, but here which
specialization
we are dealing with depends on which lambda we have, and vice versa.
gcc/cp/ChangeLog:
PR c++/99478
* parser.c (cp_parser_lambda_expression): Reject lambda
in template parameter type.
gcc/testsuite/ChangeLog:
PR c++/99478
* g++.dg/cpp2a/lambda-uneval14.C: New test.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/99478] [9/10 Regression] ICE when decltype lambda in template list
2021-03-09 7:29 [Bug c++/99478] New: ICE when decltype lambda in template list hewillk at gmail dot com
` (2 preceding siblings ...)
2021-04-14 4:34 ` cvs-commit at gcc dot gnu.org
@ 2021-04-14 4:34 ` jason at gcc dot gnu.org
2021-06-01 8:19 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2021-04-14 4:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99478
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[9/10/11 Regression] ICE |[9/10 Regression] ICE when
|when decltype lambda in |decltype lambda in template
|template list |list
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for 11 so far.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/99478] [9/10 Regression] ICE when decltype lambda in template list
2021-03-09 7:29 [Bug c++/99478] New: ICE when decltype lambda in template list hewillk at gmail dot com
` (3 preceding siblings ...)
2021-04-14 4:34 ` [Bug c++/99478] [9/10 " jason at gcc dot gnu.org
@ 2021-06-01 8:19 ` rguenth at gcc dot gnu.org
2022-05-27 9:44 ` [Bug c++/99478] [10 " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99478
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/99478] [10 Regression] ICE when decltype lambda in template list
2021-03-09 7:29 [Bug c++/99478] New: ICE when decltype lambda in template list hewillk at gmail dot com
` (4 preceding siblings ...)
2021-06-01 8:19 ` rguenth at gcc dot gnu.org
@ 2022-05-27 9:44 ` rguenth at gcc dot gnu.org
2022-06-28 10:43 ` jakub at gcc dot gnu.org
2023-07-07 9:30 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27 9:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99478
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.5 |10.4
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/99478] [10 Regression] ICE when decltype lambda in template list
2021-03-09 7:29 [Bug c++/99478] New: ICE when decltype lambda in template list hewillk at gmail dot com
` (5 preceding siblings ...)
2022-05-27 9:44 ` [Bug c++/99478] [10 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:43 ` jakub at gcc dot gnu.org
2023-07-07 9:30 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99478
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/99478] [10 Regression] ICE when decltype lambda in template list
2021-03-09 7:29 [Bug c++/99478] New: ICE when decltype lambda in template list hewillk at gmail dot com
` (6 preceding siblings ...)
2022-06-28 10:43 ` jakub at gcc dot gnu.org
@ 2023-07-07 9:30 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 9:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99478
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|10.5 |11.0
Known to fail| |10.5.0
Status|ASSIGNED |RESOLVED
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed in GCC 11.
^ permalink raw reply [flat|nested] 9+ messages in thread