OSDN Git Service

* gcc/objc/Make-lang.in (OBJC): Remove
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
index 947e080..6a1e2f1 100644 (file)
@@ -1,3 +1,109 @@
+2006-02-20 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+       * Make-lang.in (C++): Remove
+       (.PHONY): Remove C++
+
+2006-02-18  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/26266
+       * cp-tree.h (cp_finish_decl): Adjust declaration.
+       (grokbitfield): Likewise.
+       (finish_static_data_member_decl): Likewise.
+       * init.c (constant_value_1): Ensure processing_template_decl when
+       folding non-dependent initializers for static data members of
+       dependent types.  Return error_mark_node for erroneous
+       initailizers.
+       * class.c (get_vtable_decl): Use finish_decl, not cp_finish_decl.
+       * decl.c (cp_make_fname_decl): Adjust call to cp_finish_decl.
+       (cp_finish_decl): Add init_const_expr_p parameter.  Set
+       DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P here.
+       (finish_decl): Adjust call to cp_finish_decl.
+       (compute_array_index_type): Robustify.
+       (start_method): Use finish_decl, not cp_finish_decl.
+       * rtti.c (emit_tinfo_decl): Likewise.
+       * except.c (initialize_handler_parm): Adjust call to
+       cp_finish_decl.
+       (expand_start_catch_block): Likewise.
+       * cvt.c (build_up_reference): Adjust call to cp_finish_decl.
+       * pt.c (instantiate_class_template): Adjust call to
+       finish_static_data_member_decl.
+       (tsubst_expr): Use finish_decl, not cp_finish_decl.
+       (instantiate_decl): Adjust call to cp_finish_decl.
+       * name-lookup.c (pushdecl_top_level_1): Use finish_decl, not
+       cp_finish_decl.
+       * decl2.c (finish_static_data_member_decl): Add init_const_expr_p
+       parameter.
+       (grokfield): Likewise.
+       * parser.c (cp_parser_condition): Check for constant initializers.
+       (cp_parser_init_declarator): Adjust calls to grokfield and
+       cp_finish_decl.  Don't set
+       DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P here.
+       (cp_parser_member_declaration): Likewise.
+       (cp_parser_objc_class_ivars): Likewise.
+
+2006-02-14  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * call.c (standard_conversion): Return NULL instead of 0.
+       (build_user_type_conversion_1): Likewise.
+       (tourney): Likewise.
+       * decl.c (redeclaration_error_message): Likewise.
+       * error.c (language_to_string): Likewise.
+
+2006-02-13  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * cp-tree.h (warn_hidden): Remove prototype.
+       * class.c (warn_hidden): Make static.
+
+       * cp-tree.h (build_type_conversion): Remove prototype.
+       * cvt.c (build_type_conversion): Add prototype, make static.
+
+       * cp-tree.h (push_tinst_level): Remove prototype.
+       (pop_tinst_level): Likewise.
+       * pt.c (push_tinst_level): Add prototype, make static.
+       (pop_tinst_level): Likewise.
+
+2006-02-13  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * decl.c (grokdeclarator): Return NULL_TREE instead of 0.
+       * typeck.c (unary_complex_lvalue): Likewise.
+
+2006-02-13  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * lex.c (parse_strconst_pragma): Return error_mark_node instead of
+       "(tree)-1" to indicate failure.  Simplify.
+       (handle_pragma_interface): Test for error_mark_node instead of
+       "(tree)-1".
+       (handle_pragma_implementation): Likewise.
+
+2006-02-13  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       PR c++/26151
+       * parser.c (cp_parser_decl_specifier_seq): Check for duplicate
+       decl-specifiers.  Remove extra check for duplicate 'friend'.
+       * decl.c (grokdeclarator): Remove check for duplicate
+       decl-specifiers.  Set longlong together with long_p.
+
+2006-02-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/24996
+       * except.c (build_throw): Add a CLEANUP_POINT_EXPR inside the 
+       TRY_CATCH_EXPR or MUST_NOT_THROW_EXPR.
+
+2006-02-10  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * class.c (debug_class): Remove extern.
+       (debug_thunks): Likewise.
+
+2006-02-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       * typeck.c (string_conv_p): Don't test for flag_const_strings.
+
+2006-02-08  Jason Merrill  <jason@redhat.com>
+
+       PR c++/25979
+       * cp-gimplify.c (cp_gimplify_expr): Don't call
+       cp_gimplify_init_expr for MODIFY_EXPRs.
+       * typeck2.c (split_nonconstant_init_1): Use INIT_EXPR.
+
 2006-02-08  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
 
        PR c++/26071