Re: [PATCH] c++: shortcut bad convs during overload resolution, part 2 [PR101904]

2021-09-15 Thread Jason Merrill via Gcc-patches
On 9/12/21 15:45, Patrick Palka wrote: The r12-3346 patch makes us avoid computing excess argument conversions during overload resolution, but only when it turns out there's a strictly viable candidate in the overload set. If there is no such candidate then we still need to compute more

[PATCH] c++: shortcut bad convs during overload resolution, part 2 [PR101904]

2021-09-12 Thread Patrick Palka via Gcc-patches
The r12-3346 patch makes us avoid computing excess argument conversions during overload resolution, but only when it turns out there's a strictly viable candidate in the overload set. If there is no such candidate then we still need to compute more conversions than strictly necessary because