https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90548
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90548
--- Comment #6 from Marek Polacek ---
Author: mpolacek
Date: Tue May 28 14:16:38 2019
New Revision: 271708
URL: https://gcc.gnu.org/viewcvs?rev=271708=gcc=rev
Log:
PR c++/90548 - ICE with generic lambda and empty pack.
* pt.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90548
--- Comment #5 from Marek Polacek ---
Author: mpolacek
Date: Tue May 28 14:00:29 2019
New Revision: 271705
URL: https://gcc.gnu.org/viewcvs?rev=271705=gcc=rev
Log:
PR c++/90548 - ICE with generic lambda and empty pack.
* pt.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90548
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90548
--- Comment #3 from Marek Polacek ---
We ended up with an empty call_args vec because the pack expanded here:
18842 /* Expand the pack expansion and push each entry onto
18843CALL_ARGS. */
18844
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90548
--- Comment #2 from Marek Polacek ---
(gdb) p (*call_args).is_empty()
$5 = true
so
tree arg = (*call_args)[i];
where i == 0 won't work.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90548
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|