This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Typename Fix


>>>>> «Mark», Mark Mitchell <mmitchell@usa.net> wrote:
[...]

Mark> -- 
Mark> Mark Mitchell		mmitchell@usa.net
Mark> Stanford University	http://www.stanford.edu

Mark> Sat Nov 15 17:06:55 1997  Mark Mitchell  <mmitchell@usa.net>

Mark> 	* cp-tree.h (lookup_field_and_base): New function.
Mark> 	* decl.c (lookup_name_real): Call lookup_field_and_base instead of
Mark> 	lookup_field.
Mark> 	* parse.y (nonnested_type): Lookup for inherited typedefs in
Mark> 	template classes.
Mark> 	* search.c (lookup_field): Call lookup_field_and_base.
Mark> 	(lookup_field_and_base): New function.
Mark> 	(dfs_walk): When doing pushdecls, don't recurse into template base
Mark> 	classes, since they might later be specialized.


Jason, 
according to Mark's pacth it seems that the "bug" i reported a while ago
(on 4th of October, Subject: "typedef, class template and inheritance")
was actually a bug in egcs, or did the Standard change that point 
on the last vote ? 

Best,

-- Gaby
Gabriel Dos Reis                    | École Normale Supérieure de Cachan
INRIA, Unité de Recherche de        | Centre de Mathématiques et de Leurs
Sophia Antipolis                    |          Applications
Projet SAFIR                        |       Équipe de Géométrie 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]