[Bug c++/58954] [4.8/4.9 Regression] accessing a private member function in decltype of a friend class causes access control error

2013-12-27 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58954

Jason Merrill jason at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Jason Merrill jason at gcc dot gnu.org ---
Fixed for 4.8.3/4.9.


[Bug c++/58954] [4.8/4.9 Regression] accessing a private member function in decltype of a friend class causes access control error

2013-12-12 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58954

Jason Merrill jason at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||jason at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |jason at gcc dot gnu.org


[Bug c++/58954] [4.8/4.9 Regression] accessing a private member function in decltype of a friend class causes access control error

2013-12-12 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58954

--- Comment #3 from Jason Merrill jason at gcc dot gnu.org ---
Author: jason
Date: Fri Dec 13 03:58:48 2013
New Revision: 205952

URL: http://gcc.gnu.org/viewcvs?rev=205952root=gccview=rev
Log:
PR c++/58954
* pt.c (resolve_overloaded_unification): Use instantiate_template.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/access02.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c


[Bug c++/58954] [4.8/4.9 Regression] accessing a private member function in decltype of a friend class causes access control error

2013-12-12 Thread jason at gcc dot gnu.org
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=205954root=gccview=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


[Bug c++/58954] [4.8/4.9 Regression] accessing a private member function in decltype of a friend class causes access control error

2013-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58954

Richard Biener rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.8.3


[Bug c++/58954] [4.8/4.9 Regression] accessing a private member function in decltype of a friend class causes access control error

2013-11-01 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58954

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-11-01
 CC|myspam456 at gmail dot com |
Summary|accessing a private member  |[4.8/4.9 Regression]
   |function in decltype of a   |accessing a private member
   |friend class causes access  |function in decltype of a
   |control error   |friend class causes access
   ||control error
 Ever confirmed|0   |1

--- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com ---
Thanks Daniel.


[Bug c++/58954] [4.8/4.9 Regression] accessing a private member function in decltype of a friend class causes access control error

2013-11-01 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58954

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

   Priority|P3  |P2