1. 14 Mar, 2005 12 commits
    • Friend class name lookup 5/n PR c++/1016 · bd3d082e
      	Friend class name lookup 5/n
      	PR c++/1016
      	* cp-tree.h (pushtag): Adjust declaration.
      	* decl.c (lookup_and_check_tag): Call lookup_type_scope if
      	lookup_name fails.
      	(xref_tag): Adjust call to pushtag.  Make hidden class visible.
      	(start_enum): Adjust call to pushtag.
      	* name-lookup.c (ambiguous_decl): Ignore hidden names.
      	(qualify_lookup): Change return type to bool.
      	(hidden_name_p): New function.
      	(lookup_namespace_name, unqualified_namespace_lookup,
      	lookup_name_real): Use it.
      	(lookup_type_scope): Update comments.
      	(maybe_process_template_type_declaration): Change parameter name
      	from globalize to is_friend.
      	(pushtag): Change globalize parameter of type int to tag_scope.
      	Hide name if introduced by friend declaration.
      	* name-lookup.h (hidden_name_p): Add declaration.
      	* parser.c (cp_parser_lookup_name): Don't deal with hidden name
      	here.
      	* pt.c (push_template_decl_real): Make hidden class template
      	visible.
      	(lookup_template_class, instantiate_class_template): Adjust call
      	to pushtag.
      	* semantics.c (begin_class_definition): Likewise.
      	* rtti.c (init_rtti_processing, build_dynamic_cast_1,
      	tinfo_base_init, emit_support_tinfos): Use ts_current instead of
      	ts_global.
      
      	* g++.dg/lookup/hidden-class1.C: New test.
      	* g++.dg/lookup/hidden-class2.C: Likewise.
      	* g++.dg/lookup/hidden-class3.C: Likewise.
      	* g++.dg/lookup/hidden-class4.C: Likewise.
      	* g++.dg/lookup/hidden-class5.C: Likewise.
      	* g++.dg/lookup/hidden-class6.C: Likewise.
      	* g++.dg/lookup/hidden-class7.C: Likewise.
      	* g++.dg/lookup/hidden-class8.C: Likewise.
      	* g++.dg/lookup/hidden-class9.C: Likewise.
      	* g++.dg/lookup/hidden-temp-class1.C: Likewise.
      	* g++.dg/lookup/hidden-temp-class2.C: Likewise.
      	* g++.dg/lookup/hidden-temp-class3.C: Likewise.
      	* g++.dg/lookup/hidden-temp-class4.C: Likewise.
      	* g++.dg/lookup/hidden-temp-class5.C: Likewise.
      	* g++.dg/lookup/hidden-temp-class6.C: Likewise.
      	* g++.dg/lookup/hidden-temp-class7.C: Likewise.
      	* g++.dg/lookup/hidden-temp-class8.C: Likewise.
      	* g++.dg/lookup/hidden-temp-class9.C: Likewise.
      	* g++.dg/lookup/hidden-temp-class10.C: Likewise.
      	* g++.dg/lookup/hidden-temp-class11.C: Likewise.
      
      From-SVN: r96430
      Kriang Lerdsuwanakij committed
    • alloc-pool.c, [...]: Update copyright. · a2130901
      	* alloc-pool.c, except.h, ggc-common.c, ggc-zone.c, ggc.h,
      	stringpool.c, config/mips/mips-protos.h: Update copyright.
      
      From-SVN: r96428
      Kazu Hirata committed
    • * ggc-zone.c: Fix comment typos. · c1b97125
      From-SVN: r96427
      Kazu Hirata committed
    • rs6000-protos.h: Replace "struct rtx_def *" throughout with its typedef, "rtx". · 9390387d
      	* config/rs6000/rs6000-protos.h: Replace "struct rtx_def *"
      	throughout with its typedef, "rtx".
      	* config/rs6000/rs6000.c: Likewise.  Formatting fixes.
      	(rs6000_tls_symbol_ref_1): Remove inline keyword.
      	* config/rs6000/rs6000.h (REG_ALLOC_ORDER): Formatting.  Reorder
      	regs in comment to match code.
      
      From-SVN: r96420
      Alan Modra committed
    • tree-cfg.c (verify_stmts): Check that bb_for_stmt (stmt) == bb for every PHI node and statement. · 8de1fc1b
      	* tree-cfg.c (verify_stmts): Check that
      	bb_for_stmt (stmt) == bb for every PHI node and statement.
      
      From-SVN: r96418
      Kazu Hirata committed
    • Update message · 80fb36b1
      From-SVN: r96417
      Mark Mitchell committed
    • re PR c++/20157 (Internal compiler error on invalid code) · 98f99d7f
      	PR c++/20157
      	* pt.c (determine_specialization): Reject non-specializations.
      
      	PR c++/20157
      	* g++.dg/template/error18.C: New test.
      
      From-SVN: r96414
      Mark Mitchell committed
    • regclass.c (reg_class_superclasses, [...]): Make them static. · 1b28cd06
      	* regclass.c (reg_class_superclasses, reg_class_subclasses):
      	Make them static.
      	* hard-reg-set.h: Remove the corresponding declarations.
      
      From-SVN: r96410
      Kazu Hirata committed
    • function.c (get_func_frame_size): Make it static. · 7b25e663
      	* function.c (get_func_frame_size): Make it static.
      	* function.h: Remove the corresponding type.
      
      From-SVN: r96409
      Kazu Hirata committed
    • except.c (check_handled): Make it static. · c148389e
      	* except.c (check_handled): Make it static.
      	* except.h: Remove the corresponding prototype.
      
      From-SVN: r96408
      Kazu Hirata committed
    • config.gcc: Remove excess indentation. · fe3e7450
      	* config.gcc: Remove excess indentation.
      	(powerpc*-*-*, rs6000-*-*): Accept --with-cpu/tune power5 and 8548.
      
      From-SVN: r96405
      Alan Modra committed
    • Daily bump. · 1d2093c3
      From-SVN: r96401
      GCC Administrator committed
  2. 13 Mar, 2005 28 commits