[Bug c++/94483] [9 Regression] ICE: tree check: expected type_pack_expansion, have error_mark in add_capture, at cp/lambda.c:607

2021-04-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94483

Patrick Palka  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Target Milestone|9.4 |10.0

--- Comment #5 from Patrick Palka  ---
This doesn't seem appropriate to backport because it's "only" a rejects-valid
-> ice-on-valid regression.  Before r9-4041, we just didn't support pack
expansions in lambda init-capture.

[Bug c++/94483] [9 Regression] ICE: tree check: expected type_pack_expansion, have error_mark in add_capture, at cp/lambda.c:607

2020-04-17 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94483

Patrick Palka  changed:

   What|Removed |Added

Summary|[9/10 Regression] ICE: tree |[9 Regression] ICE: tree
   |check: expected |check: expected
   |type_pack_expansion, have   |type_pack_expansion, have
   |error_mark in add_capture,  |error_mark in add_capture,
   |at cp/lambda.c:607  |at cp/lambda.c:607

--- Comment #4 from Patrick Palka  ---
Fixed for GCC 10 so far.