------- Comment #3 from dodji at gcc dot gnu dot org  2009-08-04 19:59 -------
Subject: Bug 39987

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  <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:
    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


-- 


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

Reply via email to