fix gcc/cp/ChangeLog formatting
[gcc.git] / gcc / cp / ChangeLog
index f617c622fc14679548a66b1c14d458243a0a2cfc..43094b38c8cce04eb51c3ccf25b03034cf099e25 100644 (file)
@@ -1,5 +1,204 @@
+2014-04-01  Jason Merrill  <jason@redhat.com>
+
+       * pt.c (process_partial_specialization): Say "not deducible"
+       rather than "not used".  Use inform.
+
+       PR c++/60374
+       * pt.c (coerce_template_parms): Check that the pack expansion
+       pattern works with the first matching parameter.
+
+2014-04-01  Fabien ChĂȘne  <fabien@gcc.gnu.org>
+
+       * init.c (perform_member_init): Homogenize uninitialized
+       diagnostics.
+
+2014-04-01  Jason Merrill  <jason@redhat.com>
+
+       PR c++/60708
+       * call.c (build_array_conv): Call complete_type.
+
+       PR c++/60713
+       * typeck2.c (PICFLAG_SIDE_EFFECTS): New.
+       (picflag_from_initializer): Return it.
+       (process_init_constructor): Handle it.
+
+       PR c++/60642
+       * decl2.c (is_late_template_attribute): Don't defer abi_tag.
+       * mangle.c (write_unqualified_name): Fix abi_tag on templates.
+       * pt.c (get_template_info): Handle NAMESPACE_DECL.
+       (most_general_template): Handle more kinds of template.
+       * tree.c (handle_abi_tag_attribute): Ignore abi_tag on template
+       instantiations and specializations.
+
+2014-03-31  Patrick Palka  <patrick@parcs.ath.cx>
+
+       PR c++/44859
+       * typeck.c (maybe_warn_about_returning_address_of_local): Unwrap
+       COMPONENT_REFs and ARRAY_REFs sooner.
+
+2014-03-29  Adam Butcher  <adam@jessamine.co.uk>
+
+       PR c++/60626
+       * parser.c (cp_parser_init_declarator): Handle erroneous generic type
+       usage in non-functions with pushed scope.
+
+2014-03-28  Adam Butcher  <adam@jessamine.co.uk>
+
+       PR c++/60573
+       * name-lookup.h (cp_binding_level): New transient field defining_class_p
+       to indicate whether a scope is in the process of defining a class.
+       * semantics.c (begin_class_definition): Set defining_class_p.
+       * name-lookup.c (leave_scope): Reset defining_class_p.
+       * parser.c (synthesize_implicit_template_parm): Use cp_binding_level::
+       defining_class_p rather than TYPE_BEING_DEFINED as the predicate for
+       unwinding to class-defining scope to handle the erroneous definition of
+       a generic function of an arbitrarily nested class within an enclosing
+       class.
+
+2014-03-26  Fabien ChĂȘne  <fabien@gcc.gnu.org>
+
+       PR c++/52369
+       * cp/method.c (walk_field_subobs): Improve the diagnostic
+       locations for both REFERENCE_TYPEs and non-static const members.
+       * cp/init.c (diagnose_uninitialized_cst_or_ref_member): Use %q#D
+       instead of %qD to be consistent with the c++11 diagnostic.
+
+2014-03-25  Jason Merrill  <jason@redhat.com>
+
+       PR c++/60566
+       PR c++/58678
+       * class.c (build_vtbl_initializer): Handle abstract dtors here.
+       * search.c (get_pure_virtuals): Not here.
+
+       PR c++/60375
+       * parser.c (cp_parser_lambda_expression): Don't parse the body of
+       a lambda in unevaluated context.
+
+       PR c++/60628
+       * decl.c (create_array_type_for_decl): Complain about array of auto.
+
+2014-03-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/60331
+       * semantics.c (potential_constant_expression_1): Handle
+       DECL_EXPR.
+
+2014-03-24  Adam Butcher  <adam@jessamine.co.uk>
+
+       PR c++/60627
+       * parser.c (cp_parser_parameter_declaration_clause): Prevent 'auto' from
+       introducing an implicit function template parameter within an explicit
+       instantiation.
+
+2014-03-22  Jason Merrill  <jason@redhat.com>
+
+       PR c++/60574
+       * decl.c (grokdeclarator): Change permerror about 'virtual auto'
+       to error.
+
+2014-03-21  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/60384
+       * name-lookup.c (push_class_level_binding_1): Check identifier_p
+       on the name argument.
+
+2014-03-20  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/60572
+       * init.c (build_zero_init_1): Ignore fields with error_mark_node
+       type.
+
+2014-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/51474
+       * call.c (build_new_method_call_1): Handle pure virtuals called by
+       NSDMIs too.
+
+2014-03-17  Adam Butcher  <adam@jessamine.co.uk>
+
+       PR c++/60390
+       * parser.c (cp_parser_member_declaration): Don't allow
+       finish_fully_implicit_template to consider friend declarations to be
+       class member templates.
+       (synthesize_implicit_template_parm): Handling winding back through class
+       scope to the class being defined in order to inject a template argument
+       list.
+
+       PR c++/60391
+       * parser.c (cp_parser_skip_to_end_of_block_or_statement): Unwind generic
+       function scope as per cp_parser_skip_to_end_of_statement.
+
+2014-03-17  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/59571
+       * typeck2.c (check_narrowing): Use fold_non_dependent_expr_sfinae.
+
+2014-03-14  Jason Merrill  <jason@redhat.com>
+
+       PR c++/60532
+       PR c++/58678
+       * search.c (get_pure_virtuals): Handle abstract dtor here.
+       (dfs_get_pure_virtuals): Not here.
+
+       PR c++/58678
+       * search.c (dfs_get_pure_virtuals): Treat the destructor of an
+       abstract class as pure.
+
+2014-03-13  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/60383
+       * pt.c (maybe_process_partial_specialization): Check return value
+       of check_specialization_namespace.
+
+2014-03-13  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/60254
+       * semantics.c (finish_static_assert): Call cxx_constant_value only
+       if require_potential_rvalue_constant_expression returns true.
+
+2014-03-11  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/60389
+       * method.c (get_inherited_ctor): New.
+       * cp-tree.h (get_inherited_ctor): Declare it.
+       * semantics.c (is_valid_constexpr_fn): Use it.
+
+2014-03-10  Jason Merrill  <jason@redhat.com>
+
+       PR c++/60367
+       * call.c (convert_default_arg): Remove special handling for
+       CONSTRUCTOR.
+
+       PR c++/53492
+       * parser.c (cp_parser_class_head): Also check PRIMARY_TEMPLATE_P
+       when deciding whether to call push_template_decl for a member class.
+       * pt.c (push_template_decl_real): Return after wrong levels error.
+
+2014-03-08  Adam Butcher  <adam@jessamine.co.uk>
+
+       PR c++/60033
+       * pt.c (tsubst_copy): When retrieving a capture pack from a generic
+       lambda, remove the lambda's own template argument list prior to fetching
+       the specialization.
+
+       PR c++/60393
+       * parser.c (cp_parser_parameter_declaration_clause): Move generic
+       function template unwinding on error into a more general location, ...
+       (cp_parser_skip_to_end_of_statement): ... here.
+
 2014-03-07  Jason Merrill  <jason@redhat.com>
 
+       * Make-lang.in (check_g++_parallelize): Split dg.exp.
+
+       * parser.c (cp_parser_type_id_1): Only allow 'auto' in C++1y if
+       we're in a trailing return type.
+
+       * typeck.c (comp_template_parms_position): 'auto' and
+       'decltype(auto)' are different from real template parms.
+
+       * parser.c (cp_parser_using_declaration): Consume the semicolon
+       after bare parameter pack error.
+
        * cp-tree.h (REF_PARENTHESIZED_P): New.
        * semantics.c (force_paren_expr): Set it.
        * pt.c (do_auto_deduction): Check it.