https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87750
Alexandre Oliva <aoliva at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aoliva at gcc dot gnu.org --- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- The problem is that, in the presence of a template-dependent USING_DECL, overloaded functions are dropped from the bindings and from lookup results: we get only the USING_DECL in the value binding, and from the absence of template functions in an overload set, we decide the looked up name cannot be a template function in cp_parser_template_name.