r150468 - in /branches/gcc-4_4-branch/gcc: cp/C...
dodji@gcc.gnu.org
dodji@gcc.gnu.org
Tue Aug 4 19:59:00 GMT 2009
Author: dodji
Date: Tue Aug 4 19:59:48 2009
New Revision: 150468
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150468
Log:
2009-08-04 Dodji Seketeli <dodji@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:
branches/gcc-4_4-branch/gcc/cp/ChangeLog
branches/gcc-4_4-branch/gcc/cp/pt.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list