https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091
Bug 100091 depends on bug 99478, which changed state.
Bug 99478 Summary: [10 Regression] ICE when decltype lambda in template list
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99478
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091
Jason Merrill changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091
--- Comment #4 from Pilar Latiesa ---
> Of course such use of a lambda is quite pointless
Not as pointless as it might appear. This defaulted template parameter enables
a form of stateful metaprogramming:
#include
template
class T {};
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091
--- Comment #3 from Richard Biener ---
Of course such use of a lambda is quite pointless which in turn makes the P1
classification a bit odd (but given it's a new regression it's technically
correct). We'll be happy to demote this to P2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091
Martin Liška changed:
What|Removed |Added
CC||jason at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Priority|P3