[Bug c++/58954] [4.8/4.9 Regression] accessing a private member function in decltype of a friend class causes access control error
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 13 03:59:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58954
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Dec 13 03:59:10 2013
New Revision: 205954
URL: http://gcc.gnu.org/viewcvs?rev=205954&root=gcc&view=rev
Log:
PR c++/58954
* pt.c (resolve_overloaded_unification): Discard access checks.
Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/cpp0x/access02.C
Modified:
branches/gcc-4_8-branch/gcc/cp/ChangeLog
branches/gcc-4_8-branch/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list