fix gcc/cp/ChangeLog formatting
[gcc.git] / gcc / cp / ChangeLog
index e0229906de3713bd5321088b65d651c6e9cf6b1e..43094b38c8cce04eb51c3ccf25b03034cf099e25 100644 (file)
@@ -1,3 +1,88 @@
+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