[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 18:04:00 GMT 2009
------- Comment #17 from jason at gcc dot gnu dot org 2009-11-13 18:03 -------
Subject: Bug 21008
Author: jason
Date: Fri Nov 13 18:03:31 2009
New Revision: 154158
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154158
Log:
PR c++/21008, DR 515
* semantics.c (finish_non_static_data_member): Don't check
derivation in a template.
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/inherit4.C
Modified:
branches/gcc-4_4-branch/gcc/cp/ChangeLog
branches/gcc-4_4-branch/gcc/cp/semantics.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
branches/gcc-4_4-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