This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51213] [C++11][DR 1170] Access control checking has to be done under SFINAE conditions


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

--- Comment #15 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-04 18:50:03 UTC ---
Author: jason
Date: Tue Sep  4 18:49:51 2012
New Revision: 190946

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190946
Log:
    PR c++/54437
    PR c++/51213
    * pt.c (fn_type_unification): Call coerce_template_parms before
    entering substitution context.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]