diff options
author | Mike Stump <mrs@apple.com> | 2005-07-09 22:14:08 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2005-07-09 22:14:08 +0000 |
commit | c68e95c15a69b5be7bc8cf06906b16a8dee7036c (patch) | |
tree | caf3610812070c8e7ed46bedcb0f6dccb1325afd /gcc/cp/ChangeLog | |
parent | 2ca692836290d5be068cd56899e9b87f58ca8d6f (diff) |
Merge in gcc_4_0_0_release to gcc_4_0_1_release
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@101836 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 198 |
1 files changed, 198 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index bc16be410d3..6654b326f65 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -17,6 +17,204 @@ * Make-lang.in (c++.install-man): Doesn't really depend on installdirs. (rule for installing g++.1 manpage): Does depend on installdirs. +2005-07-07 Release Manager + + * GCC 4.0.1 released. + +2005-06-06 Jakub Jelinek <jakub@redhat.com> + + * error.c (locate_error): Use gmsgid instead of msgid for argument + name. + (cp_error_at, cp_warning_at, cp_pedwarn_at): Likewise. + +2005-06-05 Mark Mitchell <mark@codesourcery.com> + + PR c++/21619 + * cp-tree.h (DECL_IS_BUILTIN_CONSTANT_P): New macro. + * parser.c (cp_parser_postfix_expression): Allow non-constant + expressions as arguments to __builtin_constant_p. + * tree.c (builtin_valid_in_constant_expr_p): Use + DECL_IS_BUILTIN_CONSTANT_P. + +2005-06-03 Mark Mitchell <mark@codesourcery.com> + + PR c++/21853 + * typeck.c (casts_away_constness_r): Do not drop cv-qualifiers on + the pointed-to type for a pointer-to-member. + +2005-06-03 Mark Mitchell <mark@codesourcery.com> + + PR c++/21336 + * cp-tree.h (grok_op_properties): Remove friendp parameter. + * decl.c (grokfndecl): Adjust call. + (grok_op_properties): Determine the class of which the function is + a member by looking at its DECL_CONTEXT, not current_class_type. + * pt.c (tsubst_decl): Adjust call to grok_op_properties. + +2005-06-02 Nathan Sidwell <nathan@codesourcery.com> + + * method.c (synthesize_method): Change synthesize error to warning + for previous patch. + + PR c++/21280 + * Make-lang.in (method.o): Add diagnostic.h + * decl.c (start_preparsed_function): Use decl's location for file + info. + * decl2.c (cp_finish_file): Set input_location before synthesizing + a function. + (mark_used): When deferring a synthesized function, save current + location. Do not set function's location when actually + synthesizing it. + * method.c: #include diagnostic.h. + (synthesize_method): Set the functions source location. Show + needed location if errors are emitted. + + PR c++/21151 + * name-lookup.c (pushtag): Push local class even in a template. + +2005-06-01 Nathan Sidwell <nathan@codesourcery.com> + + PR c++/20350 + * decl.c (duplicate_decls): Copy all of DECL_USE_TEMPLATE. + +2005-05-31 Nathan Sidwell <nathan@codesourcery.com> + + PR c++/21165 + * init.c (integral_constant_value): Check the type of the + initializer, not the decl. + +2005-05-30 Mark Mitchell <mark@codesourcery.com> + + PR c++/21784 + * name-lookup.c (do_nonmember_using_decl): Ignore builtin + functions, even when the used name is not a function. + +2005-05-28 Mark Mitchell <mark@codesourcery.com> + + PR c++/21340 + * method.c (implicitly_declare_fn): Clear processing_template_decl + when generating implicit declaration. + +2005-05-27 Mark Mitchell <mark@codesourcery.com> + + PR c++/21614 + * typeck.c (get_member_function_from_ptrfunc): Do not attempt + conversions to base classes of incomplete types. + +2005-05-27 Nathan Sidwell <nathan@codesourcery.com> + + PR c++/21455 + * typeck.c (get_delta_difference): Cope with incomplete but equal + classes. + + PR c++/21681 + * parser.c (cp_parser_late_parsing_for_member): Disable access + checking for template functions. + +2005-05-26 Volker Reichelt <reichelt@igpm.rwth-aachen.de> + + PR c++/21768 + * pt.c (redeclare_class_template): Change error message according + to coding conventions. + +2005-05-26 Volker Reichelt <reichelt@igpm.rwth-aachen.de> + + * call.c (build_op_delete_call): Fix quoting in error message. + +2005-05-25 Volker Reichelt <reichelt@igpm.rwth-aachen.de> + + PR c++/21686 + * semantics.c (finish_id_expression): Fix quoting in error message. + +2005-05-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> + + 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. + +2005-05-19 Jakub Jelinek <jakub@redhat.com> + + PR c++/21495 + * decl.c (grokdeclarator): Fix "storage class specified for" + error reporting. + +2005-05-17 Jakub Jelinek <jakub@redhat.com> + + PR c++/21454 + * decl.c (maybe_deduce_size_from_array_init): Call + cp_apply_type_quals_to_decl after completing array type. + +2005-05-10 Nathan Sidwell <nathan@codesourcery.com> + + PR c++/20723 + * pt.c (more_specialized_fn): Member functions are unordered wrt + non-members. Conversion operators are unordered wrt other + functions. + + PR c++/19203, implement DR 214 + * call.c (joust): Use more_specialized_fn. + * cp-tree.h (DEDUCE_ORDER): Remove. + (more_specialized): Replace with ... + (more_specialized_fn): ... this. + * pt.c (maybe_adjust_types_for_deduction): Remove DEDUCE_ORDER + case. + (type_unification_real): Remove DEDUCE_ORDER case. + (more_specialized): Replace with ... + (more_specialized_fn): ... this. Implement DR 214. + (most_specialized_instantiation): Use get_bindings_real directly. + +2005-05-05 Mark Mitchell <mark@codesourcery.com> + + PR c++/21352 + * pt.c (build_non_dependent_expr): Use is_overloaded_fn. + +2005-05-01 Michael Matz <matz@suse.de> + + PR c++/19542 + * cp-tree.h (cp_tree_index): Remove CPTI_NULL, to be defined in C + common frontend. + (null_node): Remove. + * lex.c (cxx_init): Move null_node initialisation to C common + frontend. + +2005-04-25 Alexandre Oliva <aoliva@redhat.com> + + PR c++/21087 + * name-lookup.c (push_overloaded_decl): Do not overload with + non-duplicate anticipated built-in. + +2005-04-24 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/20991 + * class.c: Include cgraph.h. + (cp_fold_obj_type_ref): Set node->local.vtable_method. + * Make-lang.in (cgraph.o): Depend on $(CGRAPH_H). + 2005-04-20 Release Manager * GCC 4.0.0 released. |