https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80026
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This changed most likely with the r177813 change, i.e. PR50086 fix. I don't think the error is wrong though, it says to function 'void f(S ...) [with S = {}]', which is the closest one it could find, because the f template has a class...S pack that overloaded function address can't match.