https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118056
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|lto |c++-lambda, c++26
Summary|ICE: tree code |ICE with pack indexing with
|‘template_type_parm’ is not |index_sequence
|supported in LTO streams |
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note without LTO we get:
<source>: In lambda function:
<source>:11:23: internal compiler error: in expand_expr_real_1, at
expr.cc:11467
11 | (::operate_one(args...[idx]), ...);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~