+2010-12-18 Joseph Myers <joseph@codesourcery.com>
+
+ * pt.c (most_specialized_class): Use ngettext to determine
+ "candidates are:" / "candidate is" message.
+
+2010-12-17 Jason Merrill <jason@redhat.com>
+
+ PR c++/46670
+ * pt.c (value_dependent_expression_p) [ARRAY_REF]: Handle
+ properly.
+
+2010-12-15 Nathan Froyd <froydnj@codesourcery.com>
+
+ PR c++/39859
+ PR c++/44522
+ PR c++/44523
+ * parser.c (struct cp_parser): Add colon_corrects_to_scope_p field.
+ (cp_parser_new): Initialize it.
+ (cp_parser_nested_name_specifier_opt): Auto-correct colons to
+ scopes if we are able to.
+ (cp_parser_question_colon_clause): Disallow colon correction.
+ (cp_parser_label_for_labeled_statement): Likewise.
+ (cp_parser_range_for): Likewise.
+ (cp_parser_enum_specifier): Likewise.
+ (cp_parser_class_head): Likewise.
+ (cp_parser_member_declaration): Likewise.
+
+2010-12-15 Nathan Froyd <froydnj@codesourcery.com>
+
+ PR c++/46852
+ * parser.c (cp_parser_class_specifier): Check for TYPE_P.
+
+2010-12-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/46815
+ * cp-gimplify.c (cp_genericize): When changing RESULT_DECL
+ into invisible reference, change also DECL_VALUE_EXPR of
+ NRV optimized variable.
+
+2010-12-15 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/42083
+ * init.c (build_value_init): Check build_special_member_call return
+ value for error_mark_node.
+
+2010-12-14 Jason Merrill <jason@redhat.com>
+
+ PR c++/46930
+ * decl.c (grokdeclarator): Reject uninitialized constexpr
+ static data member.
+
+2010-12-14 Nathan Froyd <froydnj@codesourcery.com>
+
+ PR c++/45330
+ * cp-tree.h (suggest_alternatives_for): Add location_t parameter.
+ * name-lookup.c (suggest_alternatives_for): Likewise. Adjust.
+ * lex.c (unqualified_name_lookup_error): Adjust call to it.
+ * semantics.c (qualified_name_lookup_error): Move to...
+ * error.c (qualified_name_lookup_error): ...here. Call.
+ suggest_alternatives_for.
+
+2010-12-13 Jason Merrill <jason@redhat.com>
+
+ PR c++/46873
+ PR c++/46877
+ * semantics.c (build_data_member_initialization): Handle
+ cv-qualified data member.
+
+2010-12-13 Jan Hubicka <jh@suse.cz>
+
+ PR middle-end/45388
+ * decl2.c (start_objects): Do not generate collect2 recognicable name
+ for static ctor.
+
+2010-12-12 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/46901
+ * typeck.c (convert_for_assignment): Fix typo in warning message.
+
+2010-12-10 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/46001
+ * decl.c (record_builtin_java_type): Call build_distinct_type_copy
+ on build_nonstandard_integer_type result for __java_* types.
+
+2010-12-10 Nathan Froyd <froydnj@codesourcery.com>
+
+ * decl.c (grokmethod): Test DECL_CLASS_SCOPE_P.
+ * error.c (dump_decl): Test DECL_FILE_SCOPE_P.
+
+2010-12-10 Nathan Froyd <froydnj@codesourcery.com>
+
+ * cp-tree.h (readonly_error_kind): Delete.
+ (readonly_error): Rename to...
+ (cxx_readonly_error): ...this. Change second argument to be an
+ enum lvalue_use.
+ * semantics.c (finish_asm_stmt): Call cxx_readonly_error.
+ * typeck.c (cp_build_unary_op): Likewise.
+ (cp_build_modify_expr): Likewise.
+ * typeck2.c (readonly_error): Rename to...
+ (cxx_readonly_error): ...this. Delegate to readonly_error for
+ most cases.
+
+2010-12-10 Nicola Pero <nicola.pero@meta-innovation.com>
+
+ * parser.c (cp_parser_objc_superclass_or_category): Recognize
+ Objective-C 2.0 class extensions. Added iface_p and
+ is_class_extension arguments.
+ (cp_parser_objc_class_interface): Updated call to
+ cp_parser_objc_superclass_or_category.
+ (cp_parser_objc_class_implementation): Same change.
+
+2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
+
+ * call.c (print_conversion_rejection): Indent messages two spaces.
+
+2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
+
+ * typeck.c (cp_build_indirect_ref): Call invalid_indirection_error.
+
+2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
+
+ * typeck.c (composite_pointer_error): New function.
+ (composite_pointer_type_r, composite_pointer_type): Call it.
+
+2010-12-08 Jason Merrill <jason@redhat.com>
+
+ PR c++/46348
+ * semantics.c (cxx_eval_vec_init_1): Handle value-init.
+ (cxx_eval_vec_init): Pass value_init arg.
+
+2010-12-08 Nathan Froyd <froydnj@codesourcery.com>
+
+ PR c++/45329
+ * call.c (struct conversion): Document bad_p field.
+ (enum rejection_reason_code): Define.
+ (struct conversion_info): Define.
+ (struct rejection_reason): Define.
+ (struct z_candidate): Add `reason' field.
+ (add_candidate): Add `reason' parameter. Store it in CAND.
+ (alloc_rejection, arity_rejection, arg_conversion_rejection):
+ New functions.
+ (bad_arg_conversion_rejection): New function.
+ (convert_class_to_reference): Add comment.
+ (remaining_arguments): New function.
+ (add_function_candidate): Record rejection reason and pass it to
+ add_candidate.
+ (add_conv_candidate, build_builtin_candidate): Likewise.
+ (add_template_candidate_real): Likewise.
+ (print_conversion_rejection): New function.
+ (print_z_candidate): Print CAND->REASON if it exists. Adjust
+ diagnostic strings.
+ (print_z_candidates): Add location_t argument. Adjust calling
+ sequence for print_z_candidate. Print header line directly.
+ (build_user_type_conversion_1): Add reason for rejection to
+ CAND. Adjust call to print_z_candidates.
+ (print_error_for_call_failure): New function.
+ (build_new_function_call): Call it. Adjust call to
+ print_z_candidates.
+ (build_operator_new_call): Likewise.
+ (build_op_call): Likewise.
+ (build_conditional_expr): Likewise.
+ (build_new_op): Likewise.
+ (build_new_method_call): Likewise.
+
+2010-12-08 Jason Merrill <jason@redhat.com>
+
+ PR c++/45822
+ * cp-tree.h (LOOKUP_DEFAULTED): New.
+ * call.c (add_function_candidate): Check it.
+ * method.c (synthesized_method_walk): Set it.
+ (do_build_copy_assign): Likewise.
+ * init.c (perform_member_init): Likewise.
+ (emit_mem_initializers): Likewise.
+
+ PR c++/46736
+ * decl.c (cp_finish_decl): Complain about an implicitly deleted
+ method defaulted outside the class.
+ * method.c (maybe_explain_implicit_delete): Don't check DECL_INITIAL.
+
+2010-12-07 Joseph Myers <joseph@codesourcery.com>
+
+ * rtti.c: Don't include assert.h.
+
+2010-12-07 Nathan Froyd <froydnj@codesourcery.com>
+
+ PR c++/45330
+ * cp-tree.h (suggest_alternatives_for, location_of): Declare.
+ * error.c (dump_expr): Handle TYPE_DECL.
+ (location_of): Unstaticize.
+ * name-lookup.c (suggest_alternatives_for): New function.
+ * lex.c (unqualified_name_lookup_error): Call it.
+
+2010-12-06 Nicola Pero <nicola.pero@meta-innovation.com>
+
+ * call.c: Include c-family/c-objc.h.
+ * decl.c: Same change.
+ * decl2.c: Same change.
+ * error.c: Same change.
+ * lex.c: Same change.
+ * parser.c: Same change.
+ * pt.c: Same change.
+ * semantics.c: Same change.
+ * typeck.c: Same change.
+ * Make-lang.in (cp/decl.o): Depend on c-family/c-objc.h.
+ (cp/decl2.o): Same change.
+ (cp/call.o): Same change.
+ (cp/error.o): Same change.
+ (cp/lex.o): Same change.
+ (cp/parser.o): Same change.
+ (cp/pt.o): Same change.
+ (cp/semantics.o): Same change.
+ (cp/typeck.o): Same change.
+ * config-lang.in (gtfiles): Added c-family/c-objc.h.
+
+2010-12-03 Jason Merrill <jason@redhat.com>
+
+ PR c++/46645
+ * semantics.c (build_data_member_initialization): Remove assert.
+
+ PR c++/46058
+ * tree.c (lvalue_kind) [SCOPE_REF]: Handle non-dependent case.
+
2010-12-03 Richard Guenther <rguenther@suse.de>
PR c/46745
2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>
- Fixed using the Objective-C 2.0 dot-syntax with class names.
+ Fixed using the Objective-C 2.0 dot-syntax with class names.
* parser.c (cp_parser_primary_expression): Recognize Objective-C
2.0 dot-syntax with class names and process it.
(cp_parser_nonclass_name): Recognize Objective-C 2.0 dot-syntax
with class names.
(cp_parser_class_name): Same change.
(cp_parser_simple_type_specifier): Tidied comments.
-
+
2010-11-04 Jason Merrill <jason@redhat.com>
PR c++/46298