• mmitchel's avatar
    PR c++/9294 · 8c1f65e6
    mmitchel authored
    	* cp-tree.def (BASELINK): Make it class 'x', not class 'e'.
    	* cp-tree.h (BASELINK_BINFO): Adjust.
    	(BASELINK_FUNCTIONS): Likewise.
    	(BASELINK_ACCESS_BINFO): Likewise.
    	(tree_baselink): New structure.
    	(cp_tree_node_structure_enum): Add TS_CP_BASELINK.
    	(lang_tree_node): Add baselink.
    	* decl.c (cp_tree_node_structure): Add BASELINK case.
    	* search.c (build_baselink): Adjust.
    	* tree.c (cp_walk_subtrees): Add BASELINK case.  Remove BASELINK_P
    	test from TREE_LIST case.
    
    	PR c++/9272
    	* parser.c (cp_parser_constructor_declarator_p): Do not assume
    	that a constructor cannot be declared outside of its own class.
    
    	* parser.c (cp_parser_resolve_typename_type): If the scope cannot
    	be resolved, neither can the qualified name.
    
    	* rtti.c (get_pseudo_ti_desc): Fix thinko.
    
    	PR c++/9272
    	* g++.dg/parse/ctor1.C: New test.
    
    	PR c++/9294:
    	* g++.dg/parse/qualified1.C: New test.
    
    	* g++.dg/parse/typename3.C: New test.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61456 138bc75d-0d04-0410-961f-82ee72b054a4
    8c1f65e6
tree.c 69.2 KB