https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105779
--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:d9130880f77c7f9ffd5deaabda605bc151521be5 commit r12-8534-gd9130880f77c7f9ffd5deaabda605bc151521be5 Author: Jason Merrill <ja...@redhat.com> Date: Fri Jul 1 00:37:10 2022 -0400 c++: tweak resolve_args change I don't know why I used tf_error instead of complain here. PR c++/105779 gcc/cp/ChangeLog: * call.cc (resolve_args): Use complain.