+2011-05-27 Jason Merrill <jason@redhat.com>
+
+ PR c++/47132
+ * mangle.c (write_expression): Handle MODOP_EXPR.
+
+ PR c++/47277
+ * parser.c (cp_parser_unqualified_id): Don't check
+ constructor_name_p for enums.
+
+ PR c++/47687
+ * pt.c (dependent_type_p_r): Avoid infinite recursion.
+
+ PR c++/48284
+ * error.c (dump_expr) [COMPONENT_REF]: Use pp_cxx_dot
+ with INDIRECT_REF of REFERENCE_TYPE.
+
+ PR c++/49181
+ * pt.c (get_mostly_instantiated_function_type): Use push_access_scope.
+
+2011-05-27 Nathan Froyd <froydnj@codesourcery.com>
+
+ * cp-tree.h (building_stmt_tree): Delete.
+ * decl.c (save_function_data): Tweak initializer for x_cur_stmt_list.
+ (build_aggr_init_full_exprs): Call building_stmt_list_p
+ instead of building_stmt_tree.
+ (initialize_local_var): Likewise.
+ (finish_function): Likewise.
+ * decl2.c (finish_anon_union): Likewise.
+ * init.c (begin_init_stmts): Likewise.
+ (finish_init_stmts): Likewise.
+ (expand_aggr_init_1): Likewise.
+ * name-lookup.c (do_local_using_decl): Likewise.
+ (do_namespace_alias): Likewise.
+ (do_using_directive): Likewise.
+ (cp_emit_debug_info_for_using): Likewise.
+ * semantics.c (add_stmt): Assert that stmt_list_stack is non-empty.
+
+2011-05-27 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/42056
+ * typeck2.c (build_functional_cast): Complain early for invalid uses
+ of 'auto' and set type to error_mark_node.
+
+2011-05-26 Jason Merrill <jason@redhat.com>
+
+ PR c++/47721
+ * parser.c (cp_parser_member_declaration): Allow friend T.
+ * friend.c (make_friend_class): Ignore non-classes.
+ * pt.c (instantiate_class_template_1): Handle TEMPLATE_TYPE_PARM.
+
+ DR 1004
+ * pt.c (convert_template_argument): Don't complain about using
+ injected-class-name as template template argument.
+
+ PR c++/47956
+ * decl.c (check_static_variable_definition): Now static.
+ (cp_finish_decl): Call it here.
+ (grokdeclarator): Not here.
+ * pt.c (instantiate_class_template_1): Or here.
+ * cp-tree.h: Don't declare it.
+
+2011-05-26 Janis Johnson <janis187@us.ibm.com>
+ Nathan Froyd <froydnj@codesourcery.com>
+
+ PR c++/2288
+ PR c++/18770
+ * name-lookup.h (enum scope_kind): Add sk_cond.
+ * name-lookup.c (pushdecl_maybe_friend): Get scope of shadowed local.
+ Detect and report error for redeclaration from for-init or if
+ or switch condition.
+ (begin_scope): Handle sk_cond.
+ * semantics.c (begin_if_stmt): Use sk_cond.
+ (begin switch_stmt): Ditto.
+
+2011-05-26 Jason Merrill <jason@redhat.com>
+
+ PR c++/48211
+ * name-lookup.h (cp_class_binding): Make base a pointer.
+ * name-lookup.c (new_class_binding): Adjust.
+ (poplevel_class): Adjust.
+
+ PR c++/48424
+ * decl.c (grokparms): Function parameter packs don't need to
+ go at the end.
+ * pt.c (type_unification_real): But they aren't deduced otherwise.
+
2011-05-25 Jason Merrill <jason@redhat.com>
+ PR c++/48536
+ * decl.c (build_enumerator): If incremented enumerator won't fit in
+ previous integral type, find one it will fit in.
+
+ PR c++/48599
+ * decl.c (create_array_type_for_decl): Complain about array of auto.
+
+ PR c++/44994
+ PR c++/49156
+ * error.c (dump_template_bindings): Set processing_template_decl
+ for a partial instantiation.
+
+ PR c++/45401
+ * decl.c (grokdeclarator): Don't change type when adding rvalue ref
+ to another reference type.
+
+ PR c++/44311
+ * decl.c (case_conversion): New.
+ (finish_case_label): Use it.
+
+ * ptree.c (cxx_print_xnode): Handle ARGUMENT_PACK_SELECT.
+
+ PR c++/45698
+ * pt.c (dependent_template_arg_p): See through ARGUMENT_PACK_SELECT.
+
+ PR c++/46005
+ * decl.c (grokdeclarator): Complain about auto typedef.
+
+ PR c++/46245
+ * decl.c (grokdeclarator): Complain later for auto parameter.
+ * pt.c (splice_late_return_type): Handle use in a template
+ type-parameter.
+
+ PR c++/46696
+ * typeck.c (cp_build_modify_expr): Check DECL_DEFAULTED_FN.
+
+ PR c++/47184
+ * parser.c (cp_parser_parameter_declaration): Recognize
+ list-initialization.
+ (cp_parser_direct_declarator): Check for the closing
+ paren before parsing definitely.
+
PR c++/48935
* parser.c (cp_parser_constructor_declarator_p): Don't check
constructor_name_p for enums.