X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fcp%2FChangeLog;h=f2c7faa06259d7fe316d3100a1a8818ff45d9ad8;hp=d93fd4a0ecfeeff61b47311ed0c09c6a034145d3;hb=75b940710fbb05f64630f0b3422e8d5f4dd12ba3;hpb=565fb345280bf696efb002d68680f80ea2b44897 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index d93fd4a0ecf..f2c7faa0625 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,116 @@ +2010-09-08 Jakub Jelinek + + PR c++/45588 + * pt.c (tsubst) : Call mark_rvalue_use + before calling fold_decl_constant_value. + +2010-09-07 Arnaud Charlet + + * cp-tree.h (build_enumerator): Add new location_t parameter. + (build_lang_decl_loc): New function. + * decl.c (build_enumerator): New parameter loc. Use it when calling + build_decl. Replace build_lang_decl with build_lang_decl_loc. + * pt.c (tsubst_enum): Adjust call to build_enumerator. + * parser.c (cp_parser_enumerator_definition): Ditto. + * lex.c (build_lang_decl_loc): New function. + +2010-09-06 Dodji Seketeli + + PR c++/45200 + PR c++/45293 + PR c++/45558 + * tree.c (strip_typedefs): Strip typedefs from the context of + TYPENAME_TYPEs. + +2010-09-06 Mark Mitchell + + * typeck.c (cp_build_binary_op): Call do_warn_double_promotion. + * call.c (build_conditional_expr): Likewise. + (convert_arg_to_ellipsis): Likewise. + +2010-09-06 Arnaud Charlet + + * parser.c (make_pointer_declarator, make_reference_declarator, + make_call_declarator, make_array_declarator): Set declarator->id_loc. + (cp_parser_init_declarator): Adjust location of decl if appropriate. + +2010-09-06 Jason Merrill + + * call.c (implicit_conversion): Fix value-init of enums. + (convert_like_real): Likewise. + + * decl.c (cp_finish_decl): Don't change init for auto deduction. + + * pt.c (fold_non_dependent_expr_sfinae): Split out from... + (fold_non_dependent_expr): ...here. + (convert_nontype_argument): Use it. Take complain parm. + Use perform_implicit_conversion instead of ocp_convert. + Allow cv-qual changes. + (convert_template_argument): Pass complain down. + (tsubst_template_arg): Suppress constant expression warnings. + Don't fold here. + + * method.c (synthesized_method_walk): In constructors, also check + subobject destructors. + + * semantics.c (finish_compound_literal): Always build a + TARGET_EXPR. + +2010-08-30 Paolo Carlini + + PR c++/45043 + * decl.c (grokdeclarator): Use MAIN_NAME_P only on IDENTIFIER_NODEs. + +2010-08-30 Jakub Jelinek + + PR middle-end/45423 + * parser.c (cp_parser_omp_atomic): Handle boolean + {PRE,POST}_INCREMENT. + +2010-08-29 Jason Merrill + + PR c++/44991 + * parser.c (cp_parser_parameter_declaration): Pop parameter decls + after tentative parsing. + +2010-08-22 Joseph Myers + + * Make-lang.in (g++spec.o): Update dependencies. + * g++spec.c: Include opts.h + (MATH_LIBRARY, LIBSTDCXX): Remove initial "-l". + (lang_specific_driver): Use cl_decoded_option structures. + +2010-08-20 Nathan Froyd + + * call.c: Use FOR_EACH_VEC_ELT. + * class.c: Likewise. + * decl.c: Likewise. + * decl2.c: Likewise. + * error.c: Likewise. + * except.c: Likewise. + * mangle.c: Likewise. + * method.c: Likewise. + * name-lookup.c: Likewise. + * parser.c: Likewise. + * pt.c: Likewise. + * repo.c: Likewise. + * semantics.c: Likewise. + * typeck2.c: Likewise. + 2010-08-19 Jason Merrill + * call.c (reference_related_p): Check for error_mark_node. + (add_function_candidate): Check it instead of + same_type_ignoring_top_level_qualifiers_p. + + PR c++/45315 + * init.c (build_new_1): Don't use build_value_init in a template. + (build_value_init): Make sure we don't. + + PR c++/45307 + * cp-gimplify.c (cp_gimplify_expr): Also remove assignment + of empty class CONSTRUCTOR. + * except.c (pending_noexcept, pending_noexcept_checks): New. (perform_deferred_noexcept_checks): New. (maybe_noexcept_warning): Split from...