On Wed, 4 Dec 2024, Marek Polacek wrote:
> Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk?
>
> -- >8 --
> Here we ICE with a partially-substituted pack indexing. The pack
> expanded to an empty pack, which we can't index.
IIUC this can only happen when called from tsubst_pack_index
Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk?
-- >8 --
Here we ICE with a partially-substituted pack indexing. The pack
expanded to an empty pack, which we can't index. It seems reasonable
to detect this case in make_pack_index. Other erroneous cases can
wait until pack_index_ele