https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84857

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2018-03-14 00:00:00         |2021-7-27
           Keywords|                            |ice-on-invalid-code

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note if you do (instead of the last line):
int t = S<int, int>::f<0>();

On the trunk we produce an ICE:
<source>:9:26: internal compiler error: tree check: accessed elt 1 of
'tree_vec' with 0 elts in tsubst_pack_expansion, at cp/pt.c:13047
    9 | int t = S<int, int>::f<0>();
      |         ~~~~~~~~~~~~~~~~~^~

Reply via email to