[Bug c++/90548] [9/10 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:18877

2019-05-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90548 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/90548] [9/10 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:18877

2019-05-28 Thread mpolacek at gcc dot gnu.org
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

[Bug c++/90548] [9/10 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:18877

2019-05-28 Thread mpolacek at gcc dot gnu.org
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

[Bug c++/90548] [9/10 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:18877

2019-05-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90548 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/90548] [9/10 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:18877

2019-05-20 Thread mpolacek at gcc dot gnu.org
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

[Bug c++/90548] [9/10 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:18877

2019-05-20 Thread mpolacek at gcc dot gnu.org
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.

[Bug c++/90548] [9/10 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:18877

2019-05-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90548 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|