+2005-08-10 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/20646
+ * decl.c (grokdeclarator): Reset storage_class after error.
+
+2005-08-08 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/22508
+ * init.c (build_new_1): Check for empty candidate list.
+
+2005-08-06 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/23191
+ * pt.c (tsubst) <case METHOD_TYPE>: Check for error_mark_node
+ before calling build_exception_variant.
+
+2005-08-06 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/19498
+ * pt.c (tsubst_decl) <case TEMPLATE_DECL>: Return ERROR_MARK_NODE
+ if substitution of template args did not succeed.
+
+2005-08-06 Michael Matz <matz@suse.de>
+
+ * method.c (use_thunk): Call init_insn_lengths.
+
+2005-08-05 James A. Morrison <phython@gcc.gnu.org>
+
+ PR c++/22514
+ * name-lookup.c (cp_emit_debug_info_for_using): Do nothing if
+ sorrycount or errorcount are nonzero.
+
+2005-08-05 Mark Mitchell <mark@codesourcery.com>
+
+ * name-lookup.c (pushtag): Remove accidental commit from:
+ 2004-12-21 Mark Mitchell <mark@codesourcery.com>
+ PR c++/19063
+ * decl.c (grokdeclarator): Return error_mark_node, not
+ void_type_node, to indicate errors.
+ * parser.c (cp_parser_template_parameter_list): Robustify.
+ (cp_parser_template_parameter): Likewise.
+
+2005-08-01 Kazu Hirata <kazu@codesourcery.com>
+
+ * class.c, decl.c, name-lookup.c, pt.c, typeck.c, typeck2.c:
+ Fix comment typos.
+
+2005-07-29 Kazu Hirata <kazu@codesourcery.com>
+
+ * method.c: Fix a comment typo.
+
+2005-07-28 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/22545
+ * call.c (add_builtin_candidate): Adjust for changes in
+ representation of pointer-to-member types.
+
+2005-07-28 Mike Stump <mrs@apple.com>
+
+ * pt.c (check_explicit_specialization): Add visibility logic.
+ (lookup_template_class): Likewise.
+ (instantiate_class_template): Likewise.
+
+2005-07-27 Devang Patel <dpatel@apple.com>
+
+ * name-lookup.c (pushtag): Do no set DECL_IGNORED_P bit.
+
+2005-07-25 Ian Lance Taylor <ian@airs.com>
+
+ * ptree.c (cxx_print_identifier): Print a leading space if the
+ indent level is 0.
+
+2005-07-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * call.c (convert_for_arg_passing): Check function pointers when
+ -Wmissing-format-attribute is activated.
+ * typeck.c (convert_for_assignment): Likewise.
+
+2005-07-22 Manfred Hollstein <mh@suse.com>
+
+ * parser.c (cp_parser_declaration): Fix unitialised warnings.
+
+2005-07-21 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * class.c (build_base_path): Fix typo.
+
+2005-07-21 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR C++/22358
+ * class.c (build_base_path): Convert BINFO_OFFSET to the correct type.
+
+2005-07-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ * call.c: Fix comment typo(s).
+ * cxx-pretty-print.h: Likewise.
+ * name-lookup.c: Likewise.
+ * parser.c: Likewise.
+
+2005-07-20 Douglas Gregor <doug.gregor@gmail.com>
+
+ PR c++/2922
+ * semantics.c (perform_koenig_lookup): For dependent calls, just
+ return the set of functions we've found so far. Later, it will be
+ augmented by those found through argument-dependent lookup.
+ * name-lookup.c (lookup_arg_dependent): Implement DR 164 by removing
+ the optimization that skips namespaces where the functions were
+ originally found.
+
+2005-07-20 Giovanni Bajo <giovannibajo@libero.it>
+
+ Make CONSTRUCTOR use VEC to store initializers.
+ * call.c (convert_default_arg): Update call to digest_init.
+ * class.c (dump_class_hierarchy, dump_array): Update to cope with
+ VEC in CONSTRUCTOR_ELTS.
+ * cp-tree.h (EMPTY_CONSTRUCTOR_P): Likewise.
+ (finish_compound_literal, digest_init): Update declaration.
+ * decl.c (struct reshape_iter): New data type.
+ (reshape_init_array): Rename to...
+ (reshape_init_array_1): Update to cope with VEC in CONSTRUCTOR_ELTS.
+ (reshape_init): Rewrite from scratch. Split parts into...
+ (reshape_init_array, reshape_init_vector, reshape_init_class,
+ reshape_init_r): New functions.
+ (check_initializer): Update call to reshape_init. Remove obsolete
+ code.
+ (initialize_artificial_var, cp_complete_array_type): Update to cope
+ with VEC in CONSTRUCTOR_ELTS.
+ * decl2.c (grokfield): Update calls to digest_init.
+ (mark_vtable_entries): Update to cope with VEC in CONSTRUCTOR_ELTS.
+ * error.c (dump_expr_init_vec): New function.
+ (dump_expr): Use dump_expr_init_vec.
+ * init.c (build_zero_init, build_vec_init): Update to cope with VEC
+ in CONSTRUCTOR_ELTS.
+ (expand_default_init): Update call to digest_init.
+ * parser.c (cp_parser_postfix_expression): Use a VEC for the
+ initializers.
+ (cp_parser_initializer_list): Build a VEC of initializers.
+ * pt.c (tsubst_copy, tsubst_copy_and_build): Update to cope with VEC
+ in CONSTRUCTOR_ELTS.
+ * rtti.c (tinfo_base_init, generic_initializer, ptr_initializer,
+ ptm_initializer, class_initializer, get_pseudo_ti_init): Use
+ build_constructor_from_list instead of build_constructor.
+ * semantics.c (finish_compound_literal): Update call to digest_init.
+ * tree.c (stabilize_init): Update to cope with VEC in
+ CONSTRUCTOR_ELTS.
+ * typeck.c (build_ptrmemfunc1): Likewise.
+ * typeck2.c: (cxx_incomplete_type_error, split_nonconstant_init_1):
+ Likewise.
+ (store_init_value): Use build_constructor_from_list and update call
+ to digest_init.
+ (digest_init): Rewrite.
+ (process_init_constructor): Rewrite from scratch. Split into...
+ (process_init_constructor_array, picflag_from_initializer,
+ process_init_constructor_record, process_init_constructor_union):
+ New functions.
+ (PICFLAG_ERRONEOUS, PICFLAG_NOT_ALL_CONSTANT, PICFLAG_NOT_ALL_SIMPLE):
+ New macros.
+ (build_functional_cast): Use build_constructor_from_list instead of
+ build_constructor.
+
+2005-07-18 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/22263
+ * cp-tree.h (instantiate_decl): Change prototype.
+ * decl2.c (mark_used): Adjust accordingly.
+ * pt.c (do_decl_instantiation): Likewise.
+ (instantiate_class_member): Likewise.
+ (instantiate_decl): Rename undefined_ok as expl_inst_class_mem_p.
+ Clear DECL_INTERFACE_KNOWN for an explicitly instantiated template
+ that has no definition available.
+ (instantiate_pending_templates): Adjust call to instantiate_decl.
+
+2005-07-17 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/22139
+ * cp-tree.h (DECL_TEMPLATE_INFO): Improve documentation.
+ * decl.c (duplicate_decls): Re-register template specializations
+ for functions that have DECL_TEMLPLATE_INFO, even if they do not
+ have DECL_TEMPLATE_INSTANTIATION set.
+
+2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * call.c (diagnostic_fn_t): New.
+ (build_temp, convert_like_real): Use diagnostic_fn_t.
+
+2005-07-15 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/22204
+ * repo.c (repo_emit_p): Robustify.
+
+2005-07-14 Daniel Berlin <dberlin@dberlin.org>
+
+ Fix PR c++/22452
+ * tree.c (decl_linkage): Don't check DECL_COMDAT on CONST_DECL.
+
+2005-07-15 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/22132
+ * call.c (implicit_conversion): Add c_cast_p parameter.
+ (standard_conversion): Likewise. Allow conversions between
+ differently-qualified pointer types when performing a C-style
+ cast.
+ (add_function_candidate): Adjust callee.
+ (build_builtin_candidate): Likewise.
+ (build_user_type_conversion_1): Likewise.
+ (conditional_conversion): Likewise.
+ (can_convert_arg): Likewise.
+ (can_convert_arg_bad): Likewise.
+ (perform_implicit_conversion): Likewise.
+ * cp-tree.h (comp_ptr_ttypes_const): Declare.
+ * typeck.c (comp_ptr_ttypes_const): Give it external linkage.
+ Return bool.
+
+2005-07-12 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+ Nathan Sidwell <nathan@codesourcery.com>
+
+ PR c++/20172
+ * pt.c (tsubst_template_parms): Check for invalid non-type
+ parameters.
+
+2005-07-09 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * cp-lang.c (shadowed_var_for_decl, decl_shadowed_for_var_lookup,
+ decl_shadowed_for_var_insert): Move over to cp-objcp-common.c.
+ (cp_init_ts): Call init_shadowed_var_for_decl.
+ Remove include of gt-cp-cp-lang.h.
+ * cp-objcp-common.c (shadowed_var_for_decl,
+ decl_shadowed_for_var_lookup, decl_shadowed_for_var_insert): Moved from
+ cp-lang.c.
+ (init_shadowed_var_for_decl): New function to initialize
+ shadowed_var_for_decl.
+ Include gt-cp-cp-objcp-common.h.
+ * Make-lang.in (gt-cp-lang.h): Remove.
+ (gt-cp-cp-objcp-common.h): Add.
+ (cp/cp-lang.o): Remove dependancy on gt-cp-lang.h.
+ (cp/cp-objcp-common.o): Add dependancy on gt-cp-cp-objcp-common.h.
+ * config-lang.in (gtfiles): Remove cp-lang.c and Add cp-objcp-common.c.
+ * cp-tree (init_shadowed_var_for_decl): Add prototype.
+
+2005-07-08 Daniel Berlin <dberlin@dberlin.org>
+
+ * Make-lang.in: Add gt-cp-lang.h.
+ (cp-lang.o): Ditto.
+ * class.c (create_vtable_ptr): Stop setting DECL_ASSEMBLER_NAME on
+ the field.
+ * config-lang.in: Add cp-lang.c to gtfiles.
+ * cp-lang.c: Include hashtab.h.
+ (cp_init_ts): New function.
+ (LANG_HOOK_INIT_TS): Use macro.
+ (decl_shadowed_for_var_lookup): New function.
+ (decl_shadowed_for_var_insert): Ditto.
+ * cp-tree.h (THUNK_FUNCTION_CHECK): Use decl_common.
+ (NON_THUNK_FUNCTION_CHECK): Ditto.
+ (DECL_NAMESPACE_ASSOCIATIONS): Use decl_non_common.
+ (DECL_INIT_PRIORITY): Ditto.
+ (DECL_HAS_SHADOWED_FOR_VAR_P): Ditto.
+ (DECL_SHADOWED_FOR_VAR): Use hashtable.
+ (SET_DECL_SHADOWED_FOR_VAR): Ditto.
+ * decl.c (duplicate_decls): Update for new/updated structures.
+ (poplevel): Use SET_DECL_SHADOWED_FOR_VAR.
+ * decl2.c (start_static_initialization_or_destruction): Deal with
+ priority.
+ * pt.c (tsubst_decl): Check TS_DECL_WRTL before doing
+ SET_DECL_RTL.
+ * tree.c (handle_init_priority_attribute): Handle priority.
+
+2005-07-08 Nathan Sidwell <nathan@codesourcery.com>
+
+ PR c++/21799
+ * pt.c (type_unification_real): Add is_method argument. Use it
+ for this pointer unification.
+ (fn_type_unification): Adjust type_unification_real call.
+ (unify): Likewise.
+
2005-07-07 Nathan Sidwell <nathan@codesourcery.com>
* pt.c (type_unification_real): Remove allow_incomplete argument.
change.
(create_pseudo_type_info): First parameter is an int.
-2005-06-15 Aldy Hernandez <aldyh@redhat.com>
-
- * typeck.c (build_binary_op): Same.
- * testsuite/g++.dg/conversion/simd3.C: New.
-
2005-06-15 Nathan Sidwell <nathan@codesourcery.com>
PR c++/20678