[Bug c++/21008] [4.3/4.4/4.5 Regression] [DR515] Access failure in accessing data member of base class from derived template class

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 13 15:37:00 GMT 2009



------- Comment #16 from jason at gcc dot gnu dot org  2009-11-13 15:37 -------
Subject: Bug 21008

Author: jason
Date: Fri Nov 13 15:37:29 2009
New Revision: 154153

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154153
Log:
        PR c++/21008, DR 515
        * semantics.c (finish_non_static_data_member): Don't check
        derivation in a template.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/inherit4.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/semantics.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/lookup/scoped8.C


-- 


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



More information about the Gcc-bugs mailing list