[Bug c++/71227] [6/7 Regression] template friend function cannot be resolved

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 31 21:37:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71227

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue May 31 21:36:40 2016
New Revision: 236954

URL: https://gcc.gnu.org/viewcvs?rev=236954&root=gcc&view=rev
Log:
        PR c++/71227 - specializing hidden friend

        * pt.c (check_explicit_specialization): Give better diagnostic about
        specializing a hidden friend.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/template/friend62.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/pt.c


More information about the Gcc-bugs mailing list