P3606R2 — On Overload Resolution, Exact Matches and Clever Implementations
CWG
During overload resolution, if GCC finds an exact, non-ambiguous, non-template match, it will pick that overload and will not perform template argument deduction.