Re: [PATCH] c++: explicit specialization and trailing requirements [PR107864]

2022-11-28 Thread Jason Merrill via Gcc-patches
On 11/28/22 15:16, Patrick Palka wrote: Here we're crashing when using an explicit specialization of a function template with trailing requirements ultimately because decls_match (called indirectly from register_specialization) returns false since the template has trailing requirements whereas th

[PATCH] c++: explicit specialization and trailing requirements [PR107864]

2022-11-28 Thread Patrick Palka via Gcc-patches
Here we're crashing when using an explicit specialization of a function template with trailing requirements ultimately because decls_match (called indirectly from register_specialization) returns false since the template has trailing requirements whereas the specialization doesn't. In r12-2230-gdd