* optimize.c, typeck2.c: Update copyright.
[gcc.git] / gcc / cp / ChangeLog
index bd48e17c37f84df73254196cf8f96ad5ace7c7c3..5dafab2f5d910542dcf875eb5ebc35b620e96c89 100644 (file)
@@ -1,3 +1,152 @@
+2004-01-21  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * optimize.c, typeck2.c: Update copyright.
+
+2004-01-21  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * Make-lang.in, call.c, class.c, decl2.c, except.c, expr.c,
+       init.c, mangle.c, typeck.c: Update copyright.
+
+2004-01-21  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       * parser.c (cp_parser_class_specifier): Prevent garbage collection.
+
+2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Make-lang.in: Replace $(docdir) with doc.
+       (c++.info, c++.srcinfo): Dummy entry.
+       (c++.man, c++.srcman): New rules.
+       (c++.install-man): Revamp rule.
+
+2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Make-lang.in (CXX_INSTALL_NAME, GXX_INSTALL_NAME, 
+       CXX_TARGET_INSTALL_NAME, GXX_TARGET_INSTALL_NAME): Define via a
+       immediate $(shell) instead of deferred backquote.
+
+2004-01-19  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/13651
+       * parser.c (cp_parser_postfix_expression): When encountering
+       incomplete type on left-hand side of "->" or ".", treat the entire
+       expression as erroneous.
+
+       PR c++/13592
+       * call.c (build_field_call): Remove.
+       (n_build_method_call): Likewise.
+       (build_method_call): Likewise.
+       (build_new_method_call): Do not call build_field_call.
+       * class.c (n_build_method_call): Remove.
+       (print_class_statistics): Do not print it.
+       * cp-tree.h (build_method_call): Remove declaration.
+       (finish_object_call_expr): Likewise.
+       (build_new_1): Do not use build_method_call.
+       * parser.c (cp_parser_postfix_expression): Use finish_call_expr
+       when the function appearing on the right-hand-side of "." or "->"
+       is not actually a function.
+       * pt.c (tsubst_copy_and_build): Likewise.
+       * semantics.c (finish_object_call_expr): Remove.
+
+2004-01-18  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/13710
+       * pt.c (tsubst): Use finish_typeof.
+
+2004-01-16  Jason Merrill  <jason@redhat.com>
+
+       PR c++/11725
+       * except.c (build_throw): In a template, set
+       current_function_returns_abnormally.
+
+2004-01-17  Fred Fish  <fnf@intrinsity.com>
+
+       PR c++/11895
+       * decl.c (reshape_init): Handle VECTOR_TYPE like ARRAY_TYPE,
+       except don't call array_type_nelts() with a VECTOR_TYPE.
+
+2004-01-16  Jan Hubicka  <jh@suse.cz>
+
+       * mangle.c (write_mangled_name): Remove inline modifier.
+
+2004-01-16  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/13574
+       * decl.c (compute_array_index_type): Fix grammar in comment.
+       * init.c (build_zero_init): Handle zero-sized arrays correctly.
+
+       PR c++/13178
+       * call.c (name_as_c_string): Print conversion operator names
+       correctly.
+
+       PR c++/13478
+       * call.c (initialize_reference): Pass -1 for inner parameter to
+       convert_like_real.
+
+2004-01-15  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
+
+       PR c++/13407
+       * parser.c (cp_parser_base_specifier): Check for an invalid
+       keyword `typename' and emit an user-friendly error message.
+
+2004-01-15  Geoffrey Keating  <geoffk@apple.com>
+
+       PR pch/13361
+       * cp/lex.c (handle_pragma_interface): Duplicate string from tree.
+       (handle_pragma_implementation): Likewise.
+
+2004-01-15  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
+
+       PR c++/9259
+       * typeck.c (build_class_member_access_expr): Allow to access members
+       of the currently open class.
+       (finish_class_member_access_expr): Likewise.
+
+2004-01-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR c++/13659
+       * name-lookup.c (validate_nonmember_using_decl): Take scope and
+       name by value, instead of computing them.
+       (do_local_using_decl, do_toplevel_using_decl): Add scope and name
+       arguments.  Pass them to validate_nonmember_using_decl.
+       * name-lookup.h (do_local_using_decl): Adjust.
+       (do_toplevel_using_decl): Likewise.
+       * parser.c (cp_parser_using_declaration): Likewise.
+       * pt.c (tsubst_expr): Likewise.
+
+2004-01-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR c++/13594
+       PR c++/13658
+       * name-lookup.c (qualified_lookup_using_namespace): Search
+       strongly-associated namespaces first, and only then try other
+       namespaces.
+
+2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Make-lang.in (c++.srcextra): Dummy entry.
+
+2004-01-15  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
+
+       PR c++/8856
+       * parser.c (cp_parser_template_name): Don't try to parse a 
+       conversion-function-id, as it cannot be a template-name.
+       (cp_parser_simple_type_specifier): Check for invalid template-ids
+       even after a built-in type.
+
+2004-01-14  Jan Hubicka  <jh@suse.cz>
+
+       PR c++/12850
+       * pt.c (instantiate_decl):  Do not increase function_depth.
+
+2004-01-14  Danny Smith  <dannysmith@users,sourceforge.net>
+
+       PR c++/9021
+       PR c++/11005
+       * parser.c (cp_parser_elaborated_type_specifier): Warn about
+       attributes and discard.
+       * decl.c (xref_tag): Don't overwite existing attributes with
+       NULL_TREE.
+
 2004-01-14  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
 
        PR c++/12335