[Bug c++/48884] decltype's operand doesn't consider friend declaration

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 25 01:36:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48884

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-25 01:08:48 UTC ---
Author: jason
Date: Wed May 25 01:08:46 2011
New Revision: 174163

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174163
Log:
    PR c++/48884
    * pt.c (fn_type_unification): Disable access control during
    substitution.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/template/access21.C
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/template/access22.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/pt.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list