aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2014-04-22 13:33:12 -0700
committerBen Cheng <bccheng@google.com>2014-04-22 13:33:12 -0700
commite3cc64dec20832769406aa38cde83c7dd4194bf4 (patch)
treeef8e39be37cfe0cb69d850043b7924389ff17164 /gcc-4.9/gcc/cp/ChangeLog
parentf33c7b3122b1d7950efa88067c9a156229ba647b (diff)
downloadtoolchain_gcc-e3cc64dec20832769406aa38cde83c7dd4194bf4.zip
toolchain_gcc-e3cc64dec20832769406aa38cde83c7dd4194bf4.tar.gz
toolchain_gcc-e3cc64dec20832769406aa38cde83c7dd4194bf4.tar.bz2
[4.9] GCC 4.9.0 official release refresh
Change-Id: Ic99a7da8b44b789a48aeec93b33e93944d6e6767
Diffstat (limited to 'gcc-4.9/gcc/cp/ChangeLog')
-rw-r--r--gcc-4.9/gcc/cp/ChangeLog165
1 files changed, 165 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/cp/ChangeLog b/gcc-4.9/gcc/cp/ChangeLog
index e022990..f95944b 100644
--- a/gcc-4.9/gcc/cp/ChangeLog
+++ b/gcc-4.9/gcc/cp/ChangeLog
@@ -1,3 +1,168 @@
+2014-04-22 Release Manager
+
+ * GCC 4.9.0 released.
+
+2014-04-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR plugins/59335
+ * Make-lang.h (CP_PLUGIN_HEADERS): Add type-utils.h.
+
+2014-04-10 Richard Biener <rguenther@suse.de>
+ Jakub Jelinek <jakub@redhat.com>
+
+ PR ipa/60761
+ * error.c (dump_decl) <case FUNCTION_DECL>: If
+ DECL_LANG_SPECIFIC is NULL, but DECL_ABSTRACT_ORIGIN is not,
+ recurse on DECL_ABSTRACT_ORIGIN instead of printing
+ <built-in>.
+
+2014-04-09 Fabien Chêne <fabien@gcc.gnu.org>
+
+ * pt.c (check_template_variable): Check for the return of pedwarn
+ before emitting a note.
+ * parser.c (cp_parser_lambda_introducer): Likewise.
+
+2014-04-08 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/59115
+ * pt.c (process_template_parm): For an invalid non-type parameter
+ only set TREE_TYPE to error_mark_node.
+ (push_inline_template_parms_recursive, comp_template_parms,
+ redeclare_class_template, coerce_template_template_parm,
+ coerce_template_template_parms, unify): Use error_operand_p.
+
+2014-04-08 Nathan Sidwell <nathan@codesourcery.com>
+
+ * class.c (check_bases_and_members): Warn about non-virtual dtors
+ in public bases only. Check warn_ecpp before complaining about
+ non-polymorphic bases.
+
+2014-04-04 Fabien Chêne <fabien@gcc.gnu.org>
+
+ * decl.c (duplicate_decls): Check for the return of warning_at
+ before emitting a note.
+ (warn_misplaced_attr_for_class_type): Likewise.
+ (check_tag_decl): Likewise.
+
+2014-04-04 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/58207
+ * semantics.c (sort_constexpr_mem_initializers): Robustify loop.
+
+2014-04-04 Patrick Palka <patrick@parcs.ath.cx>
+
+ PR c++/44613
+ * semantics.c (add_stmt): Set STATEMENT_LIST_HAS_LABEL.
+ * decl.c (cp_finish_decl): Create a new BIND_EXPR before
+ instantiating a variable-sized type.
+
+ PR c++/21113
+ * decl.c (decl_jump_unsafe): Consider variably-modified decls.
+
+2014-04-04 Fabien Chêne <fabien@gcc.gnu.org>
+
+ * class.c (find_abi_tags_r): Check for the return of warning
+ before emitting a note.
+ (one_inherited_ctor): Likewise.
+
+2014-04-04 Fabien Chêne <fabien@gcc.gnu.org>
+
+ * decl.c (duplicate_decls): Check for the return of permerror
+ before emitting a note.
+
+2014-04-03 Nathan Sidwell <nathan@codesourcery.com>
+
+ * class.c (accessible_nvdtor_p): New.
+ (check_bases): Don't check base destructor here ...
+ (check_bases_and_members): ... check them here. Trigger on
+ Wnon-virtual-dtor flag.
+ (finish_struct_1): Use accessible_nvdtor_p.
+
+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
+ * method.c (walk_field_subobs): Improve the diagnostic
+ locations for both REFERENCE_TYPEs and non-static const members.
+ * 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