OSDN Git Service

* error.c (dump_expr): Add 0x to printed hex numbers to make
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
index 48e4f3a..2dc2bb7 100644 (file)
@@ -1,3 +1,376 @@
+2003-03-28  Mike Stump  <mrs@apple.com>
+
+       * error.c (dump_expr): Add 0x to printed hex numbers to make
+       output match source code better.
+
+2003-03-28  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/10218
+       * decl.c (grokfndecl): Return NULL_TREE for bogus out-of-class
+       definitions.
+
+       * decl2.c (generate_ctor_or_dtor_function): Tolerate a
+       non-existant ssdf_decls array.
+       (finish_file): Call generator_ctor_or_dtor_function when there are
+       static constructors or destructors and no other static
+       initializations.
+
+2003-03-28  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/10047
+       * decl2.c (finish_file): Don't warn about explicitly instantiated
+       inline decls.
+
+2003-03-27  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/10224
+       * pt.c (lookup_template_class): Only check instantiated args if
+       they do not contain template parameters.
+
+2003-03-27  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/10158
+       * parser.c (cp_parser_function_definition): Set
+       DECL_INITIALIZED_IN_CLASS for members.
+       * pt.c (instantiate_decl): Only reduce the template args for
+       friends that are not defined in class.
+
+2003-03-25  Jason Merrill  <jason@redhat.com>
+
+       * call.c (print_z_candidate): Change name of first arg to msgid.
+       (joust): Add comment for translators.
+
+2003-03-24  Nathan Sidwell  <nathan@codesourcery.com>
+       
+       PR c++/9898, PR c++/383, DR 322
+       * pt.c (maybe_adjust_types_for_deduction) <DEDUCE_CONV>: Look
+       through reference types on both PARM and ARG.
+
+2003-03-24  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/10119
+       * error.c (dump_expr) <BASELINK>: Use dump_expr.
+       * pt.c (maybe_fold_nontype_args): New function.
+       (tsubst_copy) <SCOPE_REF>: Subst any template_id args.
+       <TEMPLATE_ID_EXPR>: Break out folding code, call it.
+       (tsubst_copy_and_build) <TEMPLATE_ID_EXPR>: Call
+       maybe_fold_nontype_args.
+
+2003-03-24  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/10026
+       * decl2.c (arg_assoc_type) <ERROR_MARK>: Don't die.
+
+2003-03-23  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/7086
+       * typeck.c (cxx_mark_addressable):  Adjust call to
+       gen_mem_addressof or put_var_into_stack.
+
+2003-03-22  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/9978, c++/9708
+       * cp-tree.h (instantiate_template): Add tsubst_flags parameter.
+       * call.c (add_template_candidate_real): Adjust
+       instantiate_template call.
+       * class.c (resolve_address_of_overloaded_function): Likewise.
+       * decl.c (build_enumerator): Set TREE_CONSTANT.
+       * pt.c (check_instantiated_args): New.
+       (push_inline_template_parms_recursive): Set TREE_CONSTANT,
+       TREE_READONLY.
+       (build_template_parm_index): Copy TREE_CONSTANT, TREE_READONLY.
+       (reduce_template_parm_level): Likewise.
+       (process_template_parm): Likewise.
+       (check_explicit_specialization): Adjust instantiate_template call.
+       (convert_template_argument): Don't check non-type argument here.
+       (lookup_template_class): Check them here.
+       (tsubst_friend_function): Adjust instantiate_template call.
+       (instantiate_template): Add tsubst_flags parameter, use it. Check
+       instantiated args.
+
+2003-03-21  Zack Weinberg  <zack@codesourcery.com>
+
+       * decl.c: Update calls to shadow_warning.
+
+2003-03-21  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/9898
+       * error.c (dump_decl) [CONST_DECL]: Print '<enumerator>'.
+       (dump_expr) [CONSTRUCTOR]: Print default ctor as a function call.
+
+2003-03-20  Mark Mitchell  <mark@codesourcery.com>
+
+       * cp/decl2.c (arg_assoc_class): Correct check for namespace-scope
+       friends.
+       * cp/pt.c (instantiate_class_template): Fix formatting.
+
+2003-03-14  Matt Austern  <austern@apple.com>
+
+       * cp-tree.h (unemitted_tinfo_decls): Declaration of a new varray.
+       (unemitted_tinfo_decl_p): Remove.
+       (emit_tinfo_decl): Change declaration to remove unused parameter.
+       * decl2.c (finish_file): Change tinfo emission to loop through
+       unemitted_tinfo_decls array instead of looping through all decls.
+       * rtti.c (unemitted_tinfo_decl_p): Declare as static, remove
+       unused second parameter.
+       (init_rtti_processing): initialize unemitted_tinfo_decls varray.
+       (get_tinfo_decls): push new tinfo decl on unemitted_tinfo_decls.
+       (emit_tinfo_decl): remove unused second parameter, add assertion
+       that decl hasn't already been emitted.
+
+2003-03-19  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * dump.c (cp_dump_tree), cp-tree.h (cp_dump_tree): Change return
+       type from 'int' to 'bool'. Replace 0 and 1 with true and false in
+       return statements.
+
+2003-03-19  Jason Merrill  <jason@redhat.com>
+
+       PR c++/8316, c++/9315, c++/10136
+       * call.c (print_z_candidate): Split out from...
+       (print_z_candidiates): ...here.
+       (joust): Use it.
+
+2003-03-17  Roger Sayle  <roger@eyesopen.com>
+
+       PR c++/10031
+       * decl.c (duplicate_decls): Use the new type when prototyping
+       anticipated decls, even when the types match.  This defines the
+       exception list for the built-in function.
+
+2003-03-17  Jason Merrill  <jason@redhat.com>
+
+       PR c++/10091
+       * typeck.c (build_class_member_access_expr): Compare
+       TYPE_MAIN_VARIANTs.
+
+2003-03-17  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/9639
+       * parser.c (cp_parser_declarator_id): Clear parser->scope.
+
+2003-03-16  Jason Merrill  <jason@redhat.com>
+
+       PR c++/9993
+       * decl.c (finish_function): Only allow the NRVO to use variables
+       declared at function scope.
+
+2003-03-17  Andreas Jaeger  <aj@suse.de>
+
+       * Make-lang.in (cp/TAGS): Remove.
+
+2003-03-16  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/9629
+       * cp-tree.h (struct language_function): Add in_base_initializer.
+       (in_base_initializer): define it.
+       (expand_member_init): Remove INIT param.
+       * init.c (expand_member_init): Remove INIT param, return the member.
+       (emit_mem_initializers): Set in_base_initializer.
+       * class.c (build_base_path): Check in_base_initializer.
+       * parser.c (cp_parser_mem_initializer): Set in_base_initializer.
+       * pt.c (tsubst_initializer_list): Likewise.
+
+2003-03-16   Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+       * decl.c (binding_for_name): Fix initialization thinko.
+
+2003-03-15  Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+       Compile-time improvement: 2/n.
+       * cp-tree.h (struct cxx_binding): New datatype;
+       (struct lang_identifier): Use it.
+       (LOCAL_BINDING_P): Adjust definition.
+       (INHERITED_VALUE_BINDING_P): Likewise.
+       (BINDING_SCOPE): Likewise.
+       (BINDING_HAS_LEVEL_P): Likewise.
+       (BINDING_VALUE): Likewise.
+       (BINDING_TYPE): Likewise.
+       (IDENTIFIER_VALUE): Likewise.
+       (struct tree_binding): Remove.
+       (TS_CP_BINDING): Likewise.
+       ((union lang_tree_node): Remove field "binding".
+       (cxx_binding_clear): New macro.
+       (binding_for_name): Adjust return type.
+       (qualified_lookup_using_namespace): Adjust prototype.
+       (lookup_using_namespace): Adjust prototype.
+       (cxx_scope_find_binding_for_name): Declare.
+       * cp-tree.def: Remove CPLUS_BINDING definition.
+       * decl.c (push_binding): Adjust local variable type.
+       (add_binding): Likewise.
+       (push_class_binding): Likewise.
+       (pop_binding): Likewise.
+       (poplevel): Likewise.
+       (poplevel_class): Likewise.
+       (free_bindings):  Adjust type.
+       (find_binding): Adjust return type, add a third parameter. Remove
+       non-useful assertion now that we use static typing.
+       (cxx_scope_find_binding_for_name): New function.
+       (binding_for_name): Use it.  Adjust local variable type. Simplify.
+       (namespace_binding):  Simplify.
+       (set_namespace_binding): Likewise.
+       (set_identifier_type_value_with_scope): Adjust local variable type.
+       (lookup_tag): Don't type-abuse of local variable 'old'.
+       (lookup_namespace_name): Likewise.  Allocate binding on stack.
+       (select_decl): Adjust prototype.
+       (unqualified_namespace_lookup):  Allocate binding on stack.
+       Don't type-abuse of local variable 'val'.
+       (lookup_name_real): Likewise.
+       (maybe_inject_for_scope_var): Adjust local variable type.
+       (cp_tree_node_structure): Remove CPLUS_BINDING case label.
+       (namespace_binding): Adjust logic, simplify.
+       (BINDING_LEVEL): Adjust definition.
+       (push_class_level_binding): Adjust local variable type.
+       (struct cxx_saved_binding): Adjust field 'binding' type.
+       * decl2.c (ambiguous_decl): Adjust prototype.
+       (lookup_using_namespace): Adjust local variable type.
+       (qualified_lookup_using_namespace): Catch type error and correct
+       ensueing logic error.
+       (do_nonmember_using_decl): Adjust local variable type.  Allocate
+       temporary cxx_binding on stack.
+       (do_toplevel_using_decl): Adjust local variable type.
+       * ptree.c (cxx_print_cxx_binding): New function.
+       (cxx_print_identifier): Use it.
+       (cxx_print_xnode): Delete CPLUS_BINDING case label.
+
+2003-03-15  Roger Sayle  <roger@eyesopen.com>
+
+       * tree.c (count_functions): Fix whitespace.
+
+2003-03-15  Neil Booth  <neil@daikokuya.co.uk>
+
+       * Make-lang.in: Update.
+
+2003-03-15  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
+
+       PR c++/6440
+       * pt.c (maybe_process_partial_specialization): Handle
+       member class template when enclosing class template is
+       explicit specialized.
+       (most_general_template): Stop looking when DECL is already
+       specialized.
+
+2003-03-13  Jason Merrill  <jason@redhat.com>
+
+       PR c++/9420
+       * search.c (lookup_conversions): Call complete_type here.
+       * call.c (implicit_conversion): Not here.
+
+2003-03-13  Mark Mitchell  <mark@codesourcery.com>
+
+       * decl2.c (do_nonmember_using_decl): Correct handling of
+       simultaneous type/non-type bindings.
+
+       * call.c (initialize_reference): Remove bogus assertion.
+       * decl.c (build_ptrmemfunc_type): Revert change of 2003-03-09.
+
+2003-03-12  Andrew Lewycky  <andrew@mxc.ca>
+
+       PR c++/7050
+       * expr.c (cxx_expand_expr): Return const0_rtx for throw
+       expressions.
+
+2003-03-11  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/9474
+       * decl2.c (do_nonmember_using_decl): Do not call duplicate decls
+       to merge old and new declarations.
+
+2003-03-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * g++.1: Remove.
+       * Make-lang.in (c++.generated-manpages): Build cp/g++.1.
+       (cp/g++.1): Build it from scratch in the build tree.
+       (c++.install-man): Depend on it.  Install it from the build tree.
+       (c++.mostlyclean): Clean it.
+
+2003-03-11  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/9474
+       * decl2.c (do_nonmember_using_decl): Do not call duplicate decls
+       to merge old and new declarations.
+
+       PR c++/9924
+       * decl2.c (do_nonmember_using_decl): Ignore anticipated builtins.
+
+2003-03-11  Jason Merrill  <jason@redhat.com>
+
+       PR c++/9820
+       * search.c (lookup_member): Fix handling of functions in a class
+       being defined.
+
+2003-03-11  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/8700
+       * call.c (convert_class_to_reference): Adjust usage of
+       splice_viable.
+       (any_viable): Remove.
+       (splice_viable): Combine with any_viable.
+       (print_z_candidates): Avoid printing duplicates.
+       (build_user_type_conversion_1): Adjust usage of splice_viable.
+       (build_new_function_call): Likewise.
+       (build_operator_new_call): Likewise.
+       (build_object_call): Likewise.
+       (build_conditional_expr): Likewise.
+       (build_new_op): Likewise.
+       (build_new_method_call): Likewise.
+       (joust): Remove spurious comment.
+       * cp-tree.h (DECL_FRIENDLIST): Correct documentation.
+       * decl2.c (arg_assoc_class): Simplify.
+       * friend.c (add_friend): Likewise.
+
+2003-03-11  Jason Merrill  <jason@redhat.com>
+
+       PR c++/8660
+       * decl2.c (check_classfn): A member template only matches a
+       member template.
+
+2003-03-11  Neil Booth  <neil@daikokuya.co.uk>
+
+       * Make-lang.in (CXX_C_OBJS): Update.
+       * lang-specs.h: Don't define __GNUG__ here.
+
+2003-03-10  Mark Mitchell  <mark@codesourcery.com>
+
+       * call.c (perform_overload_resolution): New function.
+       (build_new_function_call): Use it.
+       (build_operator_new_call): Likewise.
+       (add_candidates): Add explicit_targs and template_only parameters.
+       (build_new_op): Adjust accordingly.
+       * cp-tree.h (build_operator_new_call): New function.
+       (build_function_call_real): Remove.
+       (build_function_call_maybe): Likewise.
+       * init.c (build_new_1): Use build_operator_new_call.
+       * typeck.c (build_function_call_real): Rename to ...
+       (build_function_call): ... this.
+
+2003-03-10  Devang Patel  <dpatel@apple.com>
+
+       PR c++/9394
+       * g++spec.c (lang_specific_driver): Use DEFAULT_WORD_SWTCH_TAKES_ARG.
+
+2003-03-10  Jason Merrill  <jason@redhat.com>
+
+       PR c++/9798
+       * decl.c (push_using_directive): Push before recursing.
+
+       PR c++/9868, c++/9524
+       * call.c (resolve_scoped_fn_name): Handle the case of a function
+       pointer member.
+
+       * decl2.c (build_offset_ref_call_from_tree): Only mess with 'this'
+       argument in the pointer-to-member case.
+
+2003-03-09  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/9373
+       * cp-lang.c (cxx_get_alias_set): Use alias set zero for
+       pointers to member functions.
+
+       PR c++/8534
+       * decl.c (build_ptrmemfunc_type): Do not allow default arugments
+       in pointer-to-member-function types.
+
 2003-03-10  Gabriel Dos Reis  <gdr@integrable-solutions.net>
 
        * expr.c (cplus_expand_constant): Use C90 prototype style.
        (handle_class_head): Remove unncessary parameters.
        * parser.c (cp_parser_class_head): Check that
        nested-name-specifiers are used appropriately.
-       
+
 2003-03-07  Mark Mitchell  <mark@codesourcery.com>
 
        * call.c (reference_binding): Remove REF_IS_VAR parameter.
        * cvt.c (build_up_reference): Adjust use of
        make_temporary_var_for_ref_to_temp.
        * tree.c (real_non_cast_lvalue_p): New method.
-        
+
 2003-03-07  Gabriel Dos Reis  <gdr@integrable-solutions.net>
 
        * except.c (init_exception_processing): Use C90 prototype style.
        (can_convert_eh): Likewise.
        (check_handlers_1): Likewise.
        (check_handlers): Likewise.
-       
+
 2003-03-06  Mark Mitchell  <mark@codesourcery.com>
 
        * call.c (merge_conversion_sequences): New function.
        (build_user_type_conversion_1): Use merge_conversion_sequences.
        * cp-tree.def: Add comments for CONV nodes.
        * rtti.c (get_tinfo_decl): Use build_address/build_nop.
-       
+
 2003-03-07  Gabriel Dos Reis  <gdr@integrable-solutions.net>
 
        * error.c (init_error): Use C90 prototype style.
        (push_namespace): Initialize static_decls for ordinary namespaces.
        (cxx_init_decl_processing): Initialize static_decls for global
        namespace.
-       
+
 2003-03-05  Mark Mitchell  <mark@codesourcery.com>
 
        * class.c (end_of_class): Correct thinko.
 
 2003-03-04  Gabriel Dos Reis <gdr@integrable-solutions.net>
 
-        * cp-tree.h (cxx_saved_binding): Declare.
-        (struct saved_scope): Adjust type of field 'old_binding'.
-        * decl.c (cxx_saved_binding_make): New macro.
-        (struct cxx_saved_binding): Define.
-        (store_bindings): Adjust prototype.  Use cxx_saved_binding to save
-        C++ bindings. 
-        (maybe_push_to_top_level): Adjust local variable type.
-        (pop_from_top_level): Likewise.
-       
+       * cp-tree.h (cxx_saved_binding): Declare.
+       (struct saved_scope): Adjust type of field 'old_binding'.
+       * decl.c (cxx_saved_binding_make): New macro.
+       (struct cxx_saved_binding): Define.
+       (store_bindings): Adjust prototype.  Use cxx_saved_binding to save
+       C++ bindings.
+       (maybe_push_to_top_level): Adjust local variable type.
+       (pop_from_top_level): Likewise.
+
 2003-03-04  Tom Tromey  <tromey@redhat.com>
 
        * Make-lang.in (c++.tags): New target.
        (convert_for_initialization): Adjust call to
        initialize_reference.
        * typeck2.c (store_init_value): Remove #if 0'd code.
-       
+
 2003-03-03  Jason Merrill  <jason@redhat.com>
 
        * decl.c (start_function): Clear DECL_NUM_STMTS.
 
 2003-02-28  Aldy Hernandez  <aldyh@redhat.com>
 
-        * parser.c (cp_parser_init_declarator): Revert opaque
-        vector_opaque_p change.
-        Do not include target.h.
+       * parser.c (cp_parser_init_declarator): Revert opaque
+       vector_opaque_p change.
+       Do not include target.h.
 
 2003-02-28  Mark Mitchell  <mark@codesourcery.com>
 
        build_zero_init.
        (build_new_1): Adjust call to build_default_init.
        * typeck2.c (process_init_constructor): Adjust call to build_zero_init.
-       
+
 2003-02-26  Devang Patel  <dpatel@apple.com>
 
-       * decl.c (finish_enum): Merge two 'for' loops. Copy value node if required.
-       Postpone enum setting for template decls.
-       (build_enumerator): Delay copying value node until finish_enum (). Remove
-       #if 0'ed code.
+       * decl.c (finish_enum): Merge two 'for' loops. Copy value node if
+       required.  Postpone enum setting for template decls.
+       (build_enumerator): Delay copying value node until finish_enum
+       (). Remove #if 0'ed code.
        * pt.c (tsubst_enum): Set TREE_TYPE and copy value node.
        (tsubst_copy): Add check for enum type.
-       
+
 2003-02-25  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/9683
        * pt.c (instantiate_class_template): Don't try to instantiate
        dependent types.
        (resolve_typename_type): Use CLASSTYPE_PRIMARY_TEMPLATE.
-       
+
 2003-02-21  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/9749
 
 2003-02-21  Nathan Sidwell  <nathan@codesourcery.com>
 
-       * search.c (bfs_walk_grow): Remove. Fold into ...
+       * search.c (grow_bfs_bases): Remove. Fold into ...
        (bfs_walk): ... here, fix fencepost error. Fix merge lossage
        in previous patch.
 
        trailing bit fields when computing CLASSTYPE_SIZE_UNIT.
 
 2003-02-18  Matt Austern <austern@apple.com>
-       
+
        * cp/cp-lang.c: Change lang hooks so that final_write_globals does
        nothing for C++.
        * cp/decl.c (wrapup_globals_for_namespace): Remove special
        handling of global namespace.
-       
+
 2003-02-18  Geoffrey Keating  <geoffk@apple.com>
 
        * cp-tree.h (rid_to_yy): Delete.
 
 2003-02-14   Andrew Pinski <pinskia@physics.uc.edu>
 
-        * decl.c: (define_label): Fix warning for return 0 instead of NULL.
-       
+       * decl.c: (define_label): Fix warning for return 0 instead of NULL.
+
 2003-02-13  Gabriel Dos Reis  <gdr@integrable-solutions.net>
 
        * decl.c: Include "timevar.h".
        (xref_tag): Likewise.
 
        * Make-lang.in (cp/decl.o): Add dependency on timevar.h
-       
+
 2003-02-12  Phil Edwards  <pme@gcc.gnu.org>
 
        * decl.c (build_enumerator):  Remove unneeded test.
        (build_modify_expr): Likewise.
        (build_x_modify_expr): Likewise.
        * typeck2.c (build_x_arrow): Likewise.
-       
+
 2003-01-29  Fariborz Jahanian  <fjahanian@apple.com>
 
-        * pt.c (last_pending_template) Declare GTY().
+       * pt.c (last_pending_template) Declare GTY().
 
 2003-01-29  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
 
        PR c++/9415
        * pt.c (tsubst_copy_and_build, CALL_EXPR): BASELINK exprs are
        already scoped.
-       
+
        PR c++/8545
        * parser.c (cp_parser_cast_expression): Be more tentative.
 
        (cp_parser_expression_statement): Use it.
        (cp_parser_explicit_instantiation): Likewise.
        * pt.c (do_decl_instantiation): Improve error handling logic.
-       
+
 2003-01-22  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/9384
        (dependent_template_arg_p): Likewise.
        (dependent_template_id_p): Likewise.
        (dependent_template_p): Likewise.
-       
+
        PR c++/9285
        PR c++/9294
        * parser.c (cp_parser_simple_declaration): Return quickly when
-        encountering errors.
+       encountering errors.
 
 2003-01-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        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.
 
 
 2003-01-09  Nathanael Nerode  <neroden@gcc.gnu.org>
 
-        * cfns.gperf: ANSIfy function declarations.
-        * cfns.h: Regenerate.
-        * cp-tree.h: ANSIfy function declarations.
-        * parser.c: ANSIfy function declarations & definitions.
+       * cfns.gperf: ANSIfy function declarations.
+       * cfns.h: Regenerate.
+       * cp-tree.h: ANSIfy function declarations.
+       * parser.c: ANSIfy function declarations & definitions.
 
        * decl.c (bad_specifiers): Fix parameter order error I introduced.
 
        2003-01-09  Geoffrey Keating  <geoffk@apple.com>
 
        Merge to tag pch-merge-20030102:
-       
+
        * semantics.c (finish_translation_unit): Don't call finish_file.
        * parser.c: Don't include ggc.h.
        (cp_lexer_new_main): Rename from cp_lexer_new, only create main lexer,
 
        * Make-lang.in: Remove $(GGC_H) from all dependencies.
        (CXX_TREE_H): Add $(GGC_H).
-       * class.c: Don't include ggc.h. 
+       * class.c: Don't include ggc.h.
        (field_decl_cmp): Make parameters be 'const void *' to match qsort.
        (method_name_cmp): Likewise.
        (resort_data): New variable.
        (register_local_specialization): Revert 2003-01-05 change.
        (instantiate_decl): Use hash_local_specialization when creating
        the local_specializations table.
-       
+
        * decl2.c (mark_used): Do not synthesize thunks.
 
        * class.c (layout_class_type): Correct handling of unnamed
        (register_local_specialization): Use htab_find_slot, not
        htab_find_slot_with_hash.
        (instantiate_decl): Pass a hash function to htab_create.
-       
+
 2003-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * parser.c (cp_parser_binary_expression,
 
 2003-01-03  Nathanael Nerode  <neroden@gcc.gnu.org>
 
-       * cvt.c, decl.c, decl2.c: This is the C++ front end, not the C 
+       * cvt.c, decl.c, decl2.c: This is the C++ front end, not the C
        front end.
 
 2003-01-03  Matt Austern  <austern@apple.com>
        (finish_file): iterate only through keyed_classes list when
        deciding whether to emit vtables, remove class from its list after
        we do the emission.
-       
+
 2003-01-02  Jason Merrill  <jason@redhat.com>
 
        * call.c (build_conditional_expr): Stabilize lvalues properly.
 
        * parser.c (struct cp_parser): Add access_checks_lists field
        (cp_parser_simple_declaration): Use.
-       (cp_parser_init_declarator): Likewise. 
+       (cp_parser_init_declarator): Likewise.
 
 2003-01-02  Mark Mitchell  <mark@codesourcery.com>