------- Comment #5 from dodji at gcc dot gnu dot org 2009-01-12 22:41 ------- Subject: Bug 36019
Author: dodji Date: Mon Jan 12 22:41:19 2009 New Revision: 143313 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143313 Log: gcc/cp/ChangeLog: 2009-01-12 Dodji Seketeli <do...@redhat.com> PR c++/36019 * pt.c (parameter_of_template_p): New function. * pt.c (get_template_info): Ditto. * cp-tree.h: Declare those. * name-lookup.c (binding_to_template_parms_of_scope_p): New function. (outer_binding): Take template parameters in account when looking for a name binding. gcc/testsuite/ChangeLog: 2009-01-12 Dodji Seketeli <do...@redhat.com> PR c++/36019 * g++.dg/lookup/hidden-class12.C: New test. * g++.dg/lookup/hidden-class13.C: New test. * g++.dg/lookup/hidden-class14.C: New test. * g++.dg/lookup/hidden-class15.C: New test. * g++.dg/lookup/hidden-class16.C: New test. * gcc/testsuite/g++.old-deja/g++.benjamin/tem03.C: Adjust testcase. Added: branches/gcc-4_2-branch/gcc/testsuite/g++.dg/lookup/hidden-class12.C branches/gcc-4_2-branch/gcc/testsuite/g++.dg/lookup/hidden-class13.C branches/gcc-4_2-branch/gcc/testsuite/g++.dg/lookup/hidden-class14.C branches/gcc-4_2-branch/gcc/testsuite/g++.dg/lookup/hidden-class15.C branches/gcc-4_2-branch/gcc/testsuite/g++.dg/lookup/hidden-class16.C Modified: branches/gcc-4_2-branch/gcc/cp/ChangeLog branches/gcc-4_2-branch/gcc/cp/cp-tree.h branches/gcc-4_2-branch/gcc/cp/name-lookup.c branches/gcc-4_2-branch/gcc/cp/pt.c branches/gcc-4_2-branch/gcc/testsuite/ChangeLog branches/gcc-4_2-branch/gcc/testsuite/g++.old-deja/g++.benjamin/tem03.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36019