Re: [PATCH] c++: unexpanded pack in var tmpl partial spec [PR100652]

2021-11-08 Thread Jason Merrill via Gcc-patches
On 11/8/21 09:45, Patrick Palka wrote: Here we're not spotting a bare parameter pack appearing in the argument list of a variable template partial specialization because we only look for them within the decl's TREE_TYPE, which is sufficient for class templates but not for variable templates. Boo

[PATCH] c++: unexpanded pack in var tmpl partial spec [PR100652]

2021-11-08 Thread Patrick Palka via Gcc-patches
Here we're not spotting a bare parameter pack appearing in the argument list of a variable template partial specialization because we only look for them within the decl's TREE_TYPE, which is sufficient for class templates but not for variable templates. Bootstrapped and regtested on x86_64-pc-linu