1. 01 Apr, 2004 1 commit
    • builtins.c, [...]: Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED. · 8df83eae
      	* builtins.c, c-aux-info.c, c-common.c, c-cppbuiltin.c, c-decl.c:
      	Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED.
      	* c-format.c, c-opts.c, c-pretty-print.c, c-typeck.c: Likewise.
      	* calls.c, convert.c, dbxout.c, dojump.c, dwarf2out.c: Likewise.
      	* expmed.c, expr.c, fold-const.c, function.c, integrate.c: Likewise.
      	* optabs.c, sdbout.c, stmt.c, stor-layout.c, tree-dump.c: Likewise.
      	* tree.c, config/iq2000/iq2000.c, config/m32r/m32r.c: Likewise.
      	* config/mips/mips.c, config/rs6000/rs6000.c: Likewise.
      	* config/s390/s390.c, config/sparc/sparc.c, objc/objc-act.c: Likewise.
      	* stor-layout.c (layout_type, case COMPLEX_TYPE): Test for
      	REAL_TYPE, not INTEGER_TYPE.
      	(layout_type, case VECTOR_TYPE): Simplify code.
      	* tree.c (build_vector_type_for_mode): Remove dup unsigned setting.
      	* tree.h: Update comments.
      	(STRIP_NOPS): Use TYPE_UNSIGNED.
      	(TYPE_UNSIGNED): New macro.
      	(TYPE_TRAP_SIGNED): Remove now redundant check.
      	(SAVE_EXPR_NOPLACEHOLDER): Don't use TREE_UNSIGNED.
      
      	* cp/call.c (joust): Use TYPE_UNSIGNED, not TREE_UNSIGNED.
      	* cp/class.c (check_bitfield_decl): Likewise.
      	* cp/cvt.c (type_promotes_to): Likewise.
      	* cp/decl.c (finish_enum): Likewise.
      	* cp/mangle.c (write_builtin_type): Likewise.
      	* cp/semantics.c (finish_switch_cond, finish_unary_op_expr): Likewise.
      	* cp/typeck.c (type_after_usual_arithmetic_conversions): Likewise.
      	(build_binary_op): Likewise.
      
      	* f/com.c (ffecom_arrayref_): Use TYPE_UNSIGNED, not TREE_UNSIGNED.
      	(ffecom_expr_): Likewise.
      
      	* java/jcf-write.c (generate_bytecode_insns): Use TYPE_UNSIGNED.
      
      	* treelang/treetree.c (tree_lang_signed_or_unsigned_type):
      	Use TYPE_UNSIGNED, not TREE_UNSIGNED.
      
      	* ada/decl.c (gnat_to_gnu_entity, make_type_from_size):
      	Use TYPE_UNSIGNED, not TREE_UNSIGNED.
      	* ada/trans.c (tree_transform, convert_with_check): Likewise.
      	* ada/utils.c (gnat_signed_or_unsigned_type): Likewise.
      	(build_vms_descriptor, unchecked_convert): Likewise.
      	* ada/utils2.c (nonbinary_modular_operation): Likewise.
      
      From-SVN: r80287
      Richard Kenner committed
  2. 24 Mar, 2004 1 commit
    • hooks.c (hook_constcharptr_tree_null): New hook. · f18eca82
      [gcc/ChangeLog]
      2004-03-23  Ziemowit Laski  <zlaski@apple.com>
      
              * hooks.c (hook_constcharptr_tree_null): New hook.
              * hooks.h (hook_constcharptr_tree_null): New prototype.
              * target-def.h (TARGET_MANGLE_FUNDAMENTAL_TYPE): New target hook.
              * target.h (mangle_fundamental_type): New target hook.
              * config/rs6000/rs6000.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Point
              target hook at rs6000_mangle_fundamental_type.
              (rs6000_mangle_fundamental_type): New function.
              * doc/tm.texi (TARGET_MANGLE_FUNDAMENTAL_TYPE): Document.
      
      [gcc/cp/ChangeLog]
      2004-03-23  Ziemowit Laski  <zlaski@apple.com>
      
              * Make-lang.in (cp/mangle.o): Depend on $(TARGET_H).
              * mangle.c (write_type): Add call to 'mangle_fundamental_type'
              target hook.
      
      [gcc/testsuite/ChangeLog]
      2004-03-23  Ziemowit Laski  <zlaski@apple.com>
      
              * g++.dg/ext/altivec-7.C: New test.
      
      From-SVN: r79885
      Ziemowit Laski committed
  3. 26 Feb, 2004 1 commit
  4. 17 Feb, 2004 1 commit
    • re PR c++/11326 (C++ IA64 ABI: 3.1.4: sometimes pointer to temporary return… · 57782ad8
      re PR c++/11326 (C++ IA64 ABI: 3.1.4: sometimes pointer to temporary return value is implicit first parameter preceding "this")
      
      	PR c++/11326
      	* c-common.c (flag_abi_version): Remove.
      	* c-common.h (flag_abi_version): Likewise.
      	* c-opts.c (c_common_handle_option): Remove OPT_fabi_version case.
      	* c.opt (fabi-version): Remove.
      	* calls.c (expand_call): Always pass a function type to
      	struct_value_rtx.  Use convert_memory_address.
      	* common.opt (fabi-version): Add it.
      	* flags.h (flag_abi_version): Likewise.
      	(abi_version_at_least): New macro.
      	* opts.c (common_handle_option): Add OPT_fabi_version.
      	* toplev.c (flag_abi_version): Define it.
      	* config/ia64/ia64.c (ia64_struct_retval_addr_is_first_parm_p):
      	New function.
      	(ia64_output_mi_thunk): Use it.
      	(ia64_struct_value_rtx): Likewise.
      
      	PR c++/11326
      	* cp-tree.h (abi_version_at_least): Remove.
      	* mangle.c: Include flags.h.
      
      	PR c++/11326
      	* g++.dg/abi/structret1.C: New test.
      
      From-SVN: r77968
      Mark Mitchell committed
  5. 29 Jan, 2004 1 commit
  6. 21 Jan, 2004 1 commit
  7. 16 Jan, 2004 1 commit
    • re PR target/13608 (Incorrect code with -O3 -ffast-math) · 965514bd
      	* i386.md (load_tp_di): Fix pasto.
      
      	PR opt/13608
      	* i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
      
      	* c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
      	pp_c_character_constant, pp_c_floating_constant,
      	pp_c_additive_expression, pp_c_shift_expression,
      	pp_c_equality_expression, pp_c_and_expression,
      	pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
      	pp_c_logical_and_expression): Remove inline modifier.
      	* dwarf2out.c (get_AT): Likewise.
      	* et-forest.c (et_splay): Likewise.
      	* ra.h (ra_alloc, ra_calloc): Likewise
      
      	* mangle.c (write_mangled_name): Remove inline modifier.
      
      From-SVN: r75988
      Jan Hubicka committed
  8. 16 Dec, 2003 2 commits
  9. 15 Dec, 2003 1 commit
    • re PR c++/13241 ([ABI] Incorrect mangling of template arguments) · 5fd80fbc
      cp:
      	PR c++/13241
      	C++ ABI change. Mangling of symbols in expressions.
      	* mangle.c (write_mangled_name): Add top_level flag. Rework for
      	nested and unnested mangling. Deal with abi version 1 and version
      	2 differences.
      	(write_expression): Adjust write_mangled_name call.
      	(mangle_decl_string): Use write_mangled_name for all non-type decls.
      testsuite:
      	PR c++/13241
      	* g++.dg/abi/mangle18-1.C: New test.
      	* g++.dg/abi/mangle18-2.C: New test.
      
      From-SVN: r74628
      Nathan Sidwell committed
  10. 13 Dec, 2003 1 commit
    • ChangeLog: Fix typos. · da1d7781
      	* ChangeLog: Fix typos.
      	* ChangeLog.1: Likewise.
      	* ChangeLog.2: Likewise.
      	* call.c: Fix comment typos.
      	* class.c: Likewise.
      	* cxx-pretty-print.c: Likewise.
      	* mangle.c: Likewise.
      	* parser.c: Likewise.
      	* pt.c: Likewise.
      	* tree.c: Likewise.
      
      From-SVN: r74595
      Kazu Hirata committed
  11. 11 Dec, 2003 1 commit
  12. 08 Dec, 2003 1 commit
    • Give the anonymous namespace a null DECL_NAME. · ed36980c
              * cp-tree.h: Don't declare anonymous_namespace_name.
              * decl.c: Don't define it.
              * dump.c (cp_dump_tree): Don't check for it.
              * cxx-pretty-print.c (pp_cxx_original_namespace_definition): Likewise.
              * error.c (dump_decl): Likewise.
              * name-lookup.c: Define it here.
              (push_namespace): Put it in DECL_ASSEMBLER_NAME instead.
              * mangle.c (write_unqualified_name): Adjust.
      
      From-SVN: r74433
      Jason Merrill committed
  13. 22 Oct, 2003 1 commit
  14. 21 Oct, 2003 1 commit
    • ChangeLog: Fix typos. · cd0be382
      	* ChangeLog: Fix typos.
      	* call.c: Fix comment typos.
      	* class.c: Likewise.
      	* cp-tree.h: Likewise.
      	* cvt.c: Likewise.
      	* cxx-pretty-print.c: Likewise.
      	* decl.c: Likewise.
      	* decl2.c: Likewise.
      	* init.c: Likewise.
      	* mangle.c: Likewise.
      	* name-lookup.c: Likewise.
      	* parser.c: Likewise.
      	* search.c: Likewise.
      	* semantics.c: Likewise.
      	* tree.c: Likewise.
      	* typeck.c: Likewise.
      
      From-SVN: r72737
      Kazu Hirata committed
  15. 28 Sep, 2003 1 commit
    • c-decl.c (finish_function): Convert definition to ISO C90. · edaf3e03
      	* c-decl.c (finish_function): Convert definition to ISO C90.
      	* ifcvt.c (mark_loop_exit_edges): Likewise.
      	* ra-rewrite.c (emit_colors): Likewise.
      
      For cp:
      
      	* decl.c (cxx_builtin_type_decls): Convert to ISO C90 function
      	definition.
      	* init.c (push_base_cleanups): Likewise.
      	* decl2.c (finish_file): Likewise.
      	* mangle.c (init_mangle): Likewise.
      	(dump_substitution_candidates): Likewise.
      	* search.c: Likewise.
      
      From-SVN: r71872
      Andreas Jaeger committed
  16. 16 Jul, 2003 1 commit
    • cp-tree.def (LOOKUP_EXPR): Remove. · 10b1d5e7
      	* cp-tree.def (LOOKUP_EXPR): Remove.
      	* cp-tree.h (cp_id_kind): Add CP_ID_KIND_UNQUALIFIED_DEPENDENT.
      	(LOOKUP_EXPR_GLOBAL): Remove.
      	(get_bindings): Remove.
      	(is_aggr_type_2): Remove.
      	* call.c (resolved_scoped_fn_name): Remove support for
      	LOOKUP_EXPR.
      	* decl.c (grokfndecl): Likewise.
      	(grokdeclarator): Likewise.
      	* error.c (dump_decl): Likewise.
      	(dump_expr): Likewise.
      	* friend.c (do_friend): Likewise.
      	* init.c (build_offset_ref): Likewise.
      	* lex.c (unqualified_fn_lookup_error): Use pedwarn.  Do not create
      	LOOKUP_EXPRs
      	* mangle.c (write_expression): Remove support for LOOKUP_EXPR.
      	* parser.c (cp_parser_postfix_expression): Modify Koenig lookup
      	test.
      	* pt.c (get_bindings): Give it internal linkage.
      	(check_explicit_specialization): Remove support for LOOKUP_EXPR.
      	(lookup_template_function): Likewise.
      	(for_each_tempalte_parm_r): Likewise.
      	(tsubst_decl): Likewise.
      	(tsubst_qualified_id): Handle template template parameters.
      	(tsubst_copy): Remove support for LOOKUP_EXPR.
      	(tsubst_copy_and_build): Likewise.
      	(most_general_template): Likewise.
      	(value_dependent_expression_p): Likewise.
      	(type_dependent_expression_p): Note that IDENTIFIER_NODEs are
      	always dependent.
      	* semantics.c (perform_koenig_lookup): Do not create
      	IDENTIFIER_NODEs.
      	(finish_fname): Likewise.
      	(finish_id_expression): Likewise.
      	* tree.c (is_aggr_type_2): Remove.
      
      From-SVN: r69427
      Mark Mitchell committed
  17. 09 Jul, 2003 1 commit
    • fold-const.c (make_range): Do not access operand 1 for a zero-operand operator. · d17811fd
      	* fold-const.c (make_range): Do not access operand 1 for a
      	zero-operand operator.
      
      2003-07-08  Mark Mitchell  <mark@codesourcery.com>
      
      	* cp-tree.def (NON_DEPENDENT_EXPR): New node.
      	* cp-tree.h (build_call_from_tree): Remove.
      	(build_member_call): Likewise.
      	(dependent_template_arg_p): Remove.
      	(any_dependent_template_arguments_p): New function.
      	(dependent_template_id_p): Likewise.
      	(any_type_dependent_arguments_p): Likewise.
      	(build_non_dependent_expr): Likewise.
      	(build_non_dependent_args): Likewise.
      	(build_x_compound_expr): Adjust prototype.
      	* call.c (build_new_method_call): Handle non-dependent expressions
      	correctly.
      	* decl2.c (grok_array_decl): Likewise.
      	(build_offset_ref_call_from_tree): Likewise.
      	(build_call_from_tree): Remove.
      	* error.c (dump_decl): Handle NON_DEPENDENT_EXPR.
      	(dump_expr): Likewise.
      	* init.c (build_member_call): Remove.
      	* mangle.c (write_expression): Update handling for template-ids.
      	* parser.c (cp_parser_primary_expression): Use
      	any_dependent_template_arguments_p.  Update constant-expression
      	handling.
      	(cp_parser_postfix_expression): Use
      	any_type_dependent_arguments_p.  Simplify call processing.
      	(cp_parser_unary_expression): Simplify.
      	(cp_parser_expression): Adjust for changes to
      	build_x_compound_expr.
      	(cp_parser_template_argument): Implement standard-conforming
      	parsing of non-type template arguments.
      	(cp_parser_direct_declarator): Use
      	cp_parser_fold_non_dependent_expr.
      	(cp_parser_fold_non_dependent_expr): New function.
      	(cp_parser_next_token_ends_template_argument_p): Likewise.
      	* pt.c (convert_template_argument): Do not call
      	maybe_fold_nontype_arg.
      	(tsubst_baselink): Likewise.
      	(tsubst_copy_and_build): Share common code.  Make sizeof/alignof
      	processing work correctly for non-dependent expressions.  Adjust
      	handling of COMPOUND_EXPR.  Simplify call processing.
      	(value_dependent_expression_p): Deal with functional casts and
      	sizeof/alignof correctly.
      	(type_dependent_expression_p): Handle overloaded functions.
      	(any_type_dependent_arguments_p): New function.
      	(any_dependent_template_arguments_p): Likewise.
      	(dependent_template_p): Treat SCOPE_REFs as dependent.
      	(dependent_template_id_p): Simplify.
      	(build_non_dependent_expr): New function.
      	(build_non_dependent_args): Likewise.
      	* semantics.c (finish_stmt_expr): Don't make dependent
      	statement-expresions have void type.
      	(finish_call_expr): Handle non-dependent expressions
      	correctly.
      	* tree.c (lvalue_p_1): Treat NON_DEPENDENT_EXPRs as lvalues.
      	* typeck.c (cxx_sizeof_or_alignof_type): Give the expression
      	type size_t, even in templates.
      	(expr_sizeof): Likewise.
      	(finish_class_member_access_expr): Handle non-dependent expressions
      	correctly.
      	(build_x_indirect_ref): Likewise.
      	(build_x_binary_op): Likewise.
      	(build_x_unary_op): Likewise.
      	(build_x_conditional_expr): Likewise.
      	(build_x_compound_expr): Likewise.
      	* typeck2.c (build_x_arrow): Likewise.
      
      2003-07-08  Mark Mitchell  <mark@codesourcery.com>
      
      	* g++.dg/abi/mangle17.C: Make sure template expressions are
      	dependent.
      	* g++.dg/abi/mangle4.C: Mark erroneous casts.
      	* g++.dg/debug/debug7.C: Mark erronous new-declarator.
      	* g++.dg/opt/stack1.C: Remove erroneous code.
      	* g++.dg/parse/template7.C: New test.
      	* g++.dg/template/dependent-expr1.C: Mark erroneous code.
      	* g++.old-deja/g++.pt/crash4.C: Likewise.
      
      2003-07-09  Mark Mitchell  <mark@codesourcery.com>
      
      	* gcj/array.h (JvPrimClass): Don't parenthesize the output.
      
      From-SVN: r69130
      Mark Mitchell committed
  18. 08 Jul, 2003 1 commit
    • cp-tree.h (build_scoped_method_call): Remove. · ee76b931
      	* cp-tree.h (build_scoped_method_call): Remove.
      	(lookup_qualified_name): Remove parameter.
      	(tsubst_copy_and_build): Declare.
      	(finish_qualified_object_call_expr): Remove.
      	(check_accessibility_of_qualified_id): New function.
      	(finish_qualified_id_expr): Likewise.
      	(non_reference): Likewise.
      	(build_expr_from-tree): Remove.
      	* call.c (non_reference): Remove.
      	(build_scoped_method_call): Likewise.
      	(build_method_call): Use error_operand_p.  Assert that we are not
      	processing a template.
      	(standard_conversion): Use non_reference.
      	* class.c (build_vtbl_entry_ref): Likewise.
      	(build_vtbl_ref_1): Likewise.
      	* cvt.c (build_expr_type_conversion): Use non_reference.
      	* decl.c (lookup_qualified_name): Remove flags parameter.
      	(grok_op_properties): Use non_reference.
      	* decl2.c (grok_array_decl): Likewise.
      	(build_expr_from_tree): Remove.
      	(build_offset_ref_call_from_tree): Update comment.
      	* error.c (parm_to_string): Call reinit_global_formatting_buffer.
      	* except.c (prepare_eh_types): Use non_reference.
      	(can_convert_eh): Likewise.
      	* init.c (build_dtor_call): Avoid using build_method_call.
      	* mangle.c (write_template_param): Remove misleading comment.
      	* method.c (locate_copy): Use non_reference.
      	* parser.c (cp_parser_scope_through_which_access_occurs): Remove.
      	(cp_parser_primary_expression): Do not create SCOPE_REFs is
      	non-dependent contexts.
      	(cp_parser_postfix_expression): Use finish_qualified_id_expr.
      	(cp_parser_direct_declarator): Use tsubst_copy_and_build, not
      	build_expr_from_tree.
      	(cp_parser_lookup_name): Adjust call to lookup_qualified_name.
      	Use check_accessibility_of_qualified_id.
      	* pt.c (maybe_fold_nontype_arg): Use tsubst_copy_and_build, not
      	build_expr_from_tree.
      	(tsubst_baselink): New function.
      	(tsubst_qualified_id): Likewise.
      	(tsubst_copy): Use them.  Remove support for METHOD_CALL_EXPR.
      	(tsubst_expr): Adjust call to lookup_qualified_name.
      	(tsubst_copy_and_build): Handle SCOPE_REFs specially.  Adjust
      	handling of CALL_EXPRs.
      	(value_dependent_expression_p): Use INTEGRAL_OR_ENUMERATION_TYPE_P.
      	* rtti.c (get_tinfo_decl_dynamic): Use non_reference.
      	* search.c (check_final_overrider): Likewise.
      	* semantics.c (check_accessibility_of_qualified_id): New function.
      	(finish_qualified_object_call_expr): Remove.
      	* typeck.c (target_type): Use non_reference.
      	(cxx_sizeof_or_alignof_type): Likewise.
      	(dubious_conversion_warnings): Likewise.
      	(convert_for_initialization): Likewise.
      	(non_reference): New function.
      
      From-SVN: r69063
      Mark Mitchell committed
  19. 07 Jul, 2003 1 commit
    • genextract.c: Convert remaining prototypes to ISO C90. · 5671bf27
      2003-07-07  Andreas Jaeger  <aj@suse.de>
      
      	* genextract.c: Convert remaining prototypes to ISO C90.
      
      	* cpplex.c (_cpp_free_buff): Convert prototype to ISO C90.
      	* fold-const.c (fold_single_bit_test): Likewise.
      	* diagnostic.c (default_diagnostic_finalizer): Likewise.
      	* cfgrtl.c (rtl_redirect_edge_and_branch): Likewise.
      
      	* gengtype.c (write_array): Generate ISO C90 prototypes.
      
      	* genflags.c (gen_proto): Generate ISO C90 prototypes.
      
      
      For cp:
      2003-07-07  Andreas Jaeger  <aj@suse.de>
      
      	* friend.c: Convert to ISO C90 prototypes.
      
      	* Make-lang.in ($(srcdir)/cp/cfns.h): Use ANSI-C as output
      	language.
      	* cfns.h: Regenerate.
      
      	* typeck.c: Convert remaining prototypes to ISO C90.
      	* search.c: Likewise.
      
      	* decl2.c (build_expr_from_tree): Convert prototype to ISO C90.
      	* semantics.c (expand_or_defer_fn): Likewise
      	* mangle.c (discriminator_for_string_literal): Likewise.
      	* g++spec.c (lang_specific_driver): Likewise.
      
      	* search.c (lookup_base_r): Remove unused variable.
      
      From-SVN: r69050
      Andreas Jaeger committed
  20. 05 Jul, 2003 1 commit
    • call.c: Fix comment typos. · 34cd5ae7
      	* call.c: Fix comment typos.
      	* class.c: Likewise.
      	* cp-tree.h: Likewise.
      	* cvt.c: Likewise.
      	* decl2.c: Likewise.
      	* decl.c: Likewise.
      	* init.c: Likewise.
      	* mangle.c: Likewise.
      	* parser.c: Likewise.
      	* pt.c: Likewise.
      	* search.c: Likewise.
      	* semantics.c: Likewise.
      	* tree.c: Likewise.
      	* typeck.c: Likewise
      
      From-SVN: r68956
      Kazu Hirata committed
  21. 03 Jul, 2003 1 commit
    • call.c (build_scoped_method_call): Use convert_to_void. · 8d245821
      	* call.c (build_scoped_method_call): Use convert_to_void.
      	(build_method_call): Likewise.
      	* class.c (check_field_decls): Remove dead code.
      	* cvt.c (convert_from_reference): Remove OFFSET_TYPE handling.
      	* decl2.c (grok_array_decl): Remove dead code.
      	(arg_assoc_type): Avoid relying on POINTER_TYPE over OFFSET_TYPE
      	as pointer-to-member representation.
      	* init.c (build_offset_ref): Tidy.
      	(build_vec_delete_1): Use convert_to_void.
      	* mangle.c (write_type): Avoid relying on POINTER_TYPE over OFFSET_TYPE
      	as pointer-to-member representation.
      
      From-SVN: r68895
      Mark Mitchell committed
  22. 30 Jun, 2003 1 commit
  23. 28 Jun, 2003 1 commit
    • * c-format.c (check_format_string, get_constant) · 8ce33230
      	* cfgrtl.c (rtl_split_edge):
      	Mark the definition static, matching the forward declaration.
      cp:
      	* decl.c (build_typename_type)
      	* mangle.c (write_template_template_arg)
      	* parser.c (cp_parser_scope_through_which_access_occurs)
      	* pt.c (push_access_scope_real, push_access_scope, pop_access_scope)
      	* repo.c (get_base_filename)
      	* semantics.c (maybe_convert_cond):
      	Mark the definition static, matching the forward declaration.
      java:
      	* class.c (build_method_symbols_entry)
      	* expr.c (get_offset_table_index)
      	* jcf-parse.c (jcf_parse):
      	Mark the definition static, matching the forward declaration.
      
      From-SVN: r68622
      Zack Weinberg committed
  24. 24 Jun, 2003 1 commit
    • call.c (enforce_access): Assert we get a binfo. · 6df5158a
      	* call.c (enforce_access): Assert we get a binfo.
      	(build_op_delete_call): Pass a binfo to
      	perform_or_defer_access_check.
      	* class.c (alter_access): Likewise.
      	* decl.c (make_typename_type): Likewise.
      	(make_unbound_class_template): Likewise.
      	* lex.c (do_identifier): Likewise.
      	* method.c (hack_identifier): Likewise.
      	* parser.c (cp_parser_lookup_name): Likewise.
      	* search.c (lookup_member): Likewise. Move IDENTIFIER_CLASS_VALUE
      	test.
      	* semantics.c (finish_non_static_data_member): Likewise.
      	(perform_or_defer_access_check): Expect a binfo.
      	* typeck.c (comptypes): Expect types.
      
      	* mangle.c (find_substitution): Don't pass a non-type to same_type_p
      	* friend.c (make_friend_class): Likewise.
      	* pt.c (check_default_tmpl_args): Likewise.
      	(lookup_template_class): Likewise.
      
      From-SVN: r68424
      Nathan Sidwell committed
  25. 23 Jun, 2003 1 commit
  26. 18 Jun, 2003 1 commit
  27. 17 Jun, 2003 3 commits
  28. 16 Jun, 2003 1 commit
  29. 11 Jun, 2003 1 commit
  30. 09 Jun, 2003 1 commit
  31. 03 Apr, 2003 1 commit
    • Index: testsuite/ChangeLog · 0de298af
      2003-04-02  Geoffrey Keating  <geoffk@apple.com>
      
      	* g++.dg/pch/system-2.C: New.
      	* g++.dg/pch/system-2.Hs: New.
      
      Index: cp/ChangeLog
      2003-04-02  Geoffrey Keating  <geoffk@apple.com>
      
      	* mangle.c: Include gt-cp-mangle.h.
      	(subst_identifiers): Mark with GTY.
      	* config-lang.in (gtfiles): Add cp/mangle.c.
      	* Make-lang.in: (gt-cp-mangle.h): New rule.
      	(cp/mangle.o): Depends on gt-cp-mangle.h.
      
      From-SVN: r65194
      Geoffrey Keating committed
  32. 20 Feb, 2003 1 commit
  33. 01 Jan, 2003 1 commit
    • call.c, [...]: Replace "GNU CC" with "GCC" in the copyright header. · f5adbb8d
      	* call.c, class.c, cp-lang.c, cp-tree.h, cvt.c, dump.c, error.c,
      	  except.c, expr.c friend.c, g++spec.c, init.c, lang-options.h,
      	  lang-specs.h, lex.c, mangle.c, method.c, optimize.c, parser.c,
      	  pt.c, ptree.c, repo.c, rtti.c, search.c, semantics.c, tree.c,
      	  typeck.c, typeck2.c: Replace "GNU CC" with "GCC" in the
      	  copyright header.
      	* lex.h: parse.y is dead, so don't mention it.  Also replace the
      	  copyright header with the default GNU copyright header.
      
      From-SVN: r60738
      Steven Bosscher committed
  34. 30 Dec, 2002 1 commit
    • cp-tree.h (THUNK_TARGET): New macro. · 07fa4878
      cp:
      	* cp-tree.h (THUNK_TARGET): New macro.
      	(THUNK_VIRTUAL_OFFSET): For result thunks it is always a binfo.
      	(finish_thunk): Remove offset parms.
      	* class.c (find_final_overrider): Look through thunks.
      	(get_vcall_index): Use THUNK_TARGET.
      	(update_vtable_entry_for_fn): Look through thunks. Set covariant
      	fixed offset here. Adjust finish_thunk call.
      	(build_vtbl_initializer): Adjust finish_thunk calls.
      	* mangle.c (mangle_call_offset): Remove superfluous if.
      	(mangle_thunk): Adjust.
      	* method.c (make_thunk): Adjust.
      	(finish_thunk): Adjust.
      	(thunk_adjust): Remove assert.
      	(use_thunk): Use THUNK_TARGET
      	* dump1.c (cp_dump_tree): Adjust thunk dumping.
      testsuite:
      	* g++.dg/inherit/covariant5.C: New test.
      	* g++.dg/inherit/covariant6.C: New test.
      	* g++.dg/inherit/covariant7.C: New test.
      
      From-SVN: r60628
      Nathan Sidwell committed
  35. 16 Dec, 2002 1 commit
  36. 09 Nov, 2002 1 commit
    • re PR c++/8389 (Access to members of base class & templates) · 5c74d5b0
      	PR c++/8389
      	* pt.c (instantiate_template): Push class scope for member
      	functions.
      	(get_mostly_instantiated_function_type): Likewise.  Don't call
      	tsubst on context.  Remove CONTEXTP and TPARMSP parameters.
      	* cp-tree.h (get_mostly_instantiated_function_type): Adjust.
      	* mangle.c (write_encoding, write_unqualified_name): Adjust.
      
      	PR c++/8389
      	* g++.dg/template/access6.C: New test.
      
      From-SVN: r58950
      Kriang Lerdsuwanakij committed
  37. 17 Oct, 2002 1 commit