Re: [PATCH] c++: Fix ICE with unexpanded parameter pack [PR99844]

2021-04-07 Thread Jason Merrill via Gcc-patches
On 4/7/21 5:58 PM, Marek Polacek wrote: In explicit17.C, we weren't detecting an unexpanded parameter pack in explicit(bool), so we crashed on a TEMPLATE_PARM_INDEX in constexpr. I noticed the same is true for noexcept(), but only since my patch to implement delayed parsing of noexcept.

[PATCH] c++: Fix ICE with unexpanded parameter pack [PR99844]

2021-04-07 Thread Marek Polacek via Gcc-patches
In explicit17.C, we weren't detecting an unexpanded parameter pack in explicit(bool), so we crashed on a TEMPLATE_PARM_INDEX in constexpr. I noticed the same is true for noexcept(), but only since my patch to implement delayed parsing of noexcept. Previously, we would detect the unexpanded pack