------- Comment #2 from dodji at gcc dot gnu dot org 2009-08-04 19:50 ------- Subject: Bug 39987
Author: dodji Date: Tue Aug 4 19:49:48 2009 New Revision: 150467 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150467 Log: 2009-08-04 Dodji Seketeli <do...@redhat.com> gcc/cp/ChangeLog: PR c++/39987 * pt.c (tsubst_default_argument): Let access checks of the default argument happen in the context of the current function. gcc/testsuite/ChangeLog: PR c++/39987 * g++.dg/overload/defarg4.C: New test. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39987