X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fcp%2FChangeLog;h=db8b3eba13a967453149b13272d455cf5bcb8b33;hb=931b0a0f9ddae71dbef720adf1b1a6707232b223;hp=8f64db42fec833efc86023ce7630a6814338c8dc;hpb=e5ead12a0cb23e024117b90a912c24efd36f995a;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8f64db42fec..db8b3eba13a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,137 @@ +2007-09-06 Tom Tromey + + * decl.c (finish_function): Put return's location on line zero of + file. + +2007-09-05 Jason Merrill + + PR c++/15745 + * except.c (prepare_eh_type): Use type_decays_to. + + PR c++/15097 + * init.c (build_delete): Use build_headof to get the address of the + complete object if we aren't using the deleting destructor. + * rtti.c (build_headof): No longer static. + * cp-tree.h: Declare it. + +2007-09-06 Jakub Jelinek + + * decl.c (duplicate_decls): Set TREE_NOTHROW on __builtin_XX + decl if a prototype for XX is provided with throw(). + + PR c++/33289 + * decl.c (builtin_function_1): Set DECL_ANTICIPATED also + on __*_chk non-__builtin_* decls. + +2007-09-05 Paolo Carlini + + PR c++/30302 + * semantics.c (finish_id_expression): Use context_for_name_lookup + insted of DECL_CONTEXT, to see through anonymous structs and unions. + * class.c (finish_struct_anon): Deal correctly with anonymous + structs (vs unions, as GNU extension) in error messages. + +2007-09-05 Jan Hubicka + + * cp/sematics.c (expand_body): Remove unnecesary import_export_decl + call, DECL_EXTERNAL checks and current_function_decl saving. + +2007-09-05 Paolo Carlini + + PR c++/29731 (again) + * parser.c (cp_parser_primary_expression): Return error_mark_node + when a statement-expression is found in a template-argument list. + +2007-09-04 Jason Merrill + + * except.c (initialize_handler_parm): Use + fold_build_cleanup_point_expr. + + PR c++/31419 + * call.c (reference_binding): Don't look for user-defined conversions + to the same type. + + PR c++/31411 + * except.c (initialize_handler_parm): Put a CLEANUP_POINT_EXPR inside + the MUST_NOT_THROW_EXPR. + +2007-09-04 Richard Sandiford + + * decl.c (cp_finish_decl): Call determine_visibility before + make_rtl_for_nonlocal_decl. + +2007-09-04 Jason Merrill + + PR c++/14032 + * pt.c (most_specialized_class): Substitute outer template + arguments into the arguments of a member template partial + specialization. + (strip_innermost_template_args): New fn. + +2007-09-03 Daniel Jacobowitz + + * Make-lang.in (g++spec.o): Remove SHLIB_MULTILIB. + +2007-09-03 Kaveh R. Ghazi + + * call.c (name_as_c_string): Supply a TYPE for CONST_CAST. + * decl.c (cp_make_fname_decl): Likewise, + * parser.c (cp_parser_string_literal): Likewise, + * tree.c (pod_type_p, zero_init_p): Use CONST_CAST_TREE. + * typeck.c (cp_type_quals, cp_type_readonly, cp_has_mutable_p): + Likewise, + +2007-09-02 Paolo Carlini + + PR c++/33208 + * typeck.c (build_unary_op): Fix error message for + Boolean expression as operand to operator--. + +2007-09-01 Kaveh R. Ghazi + + * tree.c (pod_type_p, zero_init_p): Use strip_array_types. + * typeck.c (cp_type_quals, cp_type_readonly, cp_has_mutable_p): + Likewise. + +2007-08-31 Douglas Gregor + + PR c++/32597 + * init.c (build_default_init): Make extern. + * cp-tree.h (build_default_init): Declare here. + * pt.c (tsubst_expr): When the instantiation of the initializer of + a variable results in an empty list, default-initialize the + variable. + (tsubst_copy_and_build): When the instantiation of the initializer + in a new expression results in an empty initializer list, + default-initialize it. + +2007-08-31 Douglas Gregor + + * mangle.c (write_type): Change mangling of rvalue reference from + `RR' to `O'. + +2007-08-31 Jakub Jelinek + + * decl.c (duplicate_decls): Remove duplicated line. + +2007-08-31 Paolo Carlini + + PR c++/33210 + * cxx-pretty-print.c (pp_cxx_unqualified_id): Deal with + BOUND_TEMPLATE_TEMPLATE_PARM. + +2007-08-31 Paolo Carlini + + PR c++/32113 + * search.c (lookup_member): Check the name argument for + error_mark_node. + +2007-08-31 Paolo Carlini + + PR c++/33212 + * parser.c (cp_parser_trait_expr): Check rerurn value of + cp_parser_type_id. + 2007-08-30 Ollie Wild * cvt.c (cp_convert_to_pointer): Remove force parameter. Call @@ -11,6 +145,11 @@ (get_delta_difference_1): New function. (get_delta_difference): Refactor to call get_delta_difference_1. +2007-08-30 Jakub Jelinek + + * decl.c (start_preparsed_function): Set + DECL_DISREGARD_INLINE_LIMITS for GNU_INLINE_P functions. + 2007-08-28 Paolo Carlini PR c++/33209 @@ -370,7 +509,7 @@ 2007-08-06 Paolo Carlini PR c++/19532 - * pt.c (template_class_depth): Fix comment; change return type + * pt.c (inline_needs_template_parms): Fix comment; change return type to bool. 2007-08-05 Volker Reichelt