re PR c++/56208 (Some classic sfinae cases fail to work due to access problems)
authorJason Merrill <jason@redhat.com>
Wed, 6 Feb 2013 03:33:45 +0000 (22:33 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 6 Feb 2013 03:33:45 +0000 (22:33 -0500)
commit29ef6cd035bda26987bd4a69a91b66908654b01b
tree42f7927c901ee01127e95a2d482eeea50768f387
parentbda9912058a37c428d7fabe624798b241f8ba728
re PR c++/56208 (Some classic sfinae cases fail to work due to access problems)

PR c++/56208
* pt.c (fn_type_unification): Discard any access checks from
substituting explicit args.

From-SVN: r195779
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/sfinae43.C [new file with mode: 0644]