aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2015-09-16 10:57:42 +0200
committerYvan Roux <yvan.roux@linaro.org>2015-09-16 10:57:42 +0200
commitac19ac6481a3f326d9f41403f5dadab548b2c8a6 (patch)
treeb3e7e392d6f89138ab8343bd9a6157e284e756ae /gcc/cp/ChangeLog
parent15a6021253f2cc4c832fd7ddb1469d3f0b281c91 (diff)
Merge branches/gcc-5-branch rev 227732.linaro-local/gcc-5-integration-branch-new
Change-Id: I2f59904b28323b1c72a8cf1bd62c9e460d95bcea
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog276
1 files changed, 276 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 5f75f0e343d..219cd4ad520 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,279 @@
+2015-09-10 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/67522
+ * semantics.c (handle_omp_array_sections_1): Only run
+ type_dependent_expression_p on VAR_DECL/PARM_DECLs.
+ (finish_omp_clauses) <case OMP_CLAUSE_LINEAR>: Likewise.
+ Don't adjust OMP_CLAUSE_LINEAR_STEP if OMP_CLAUSE_DECL
+ is not a VAR_DECL/PARM_DECL.
+
+ PR c++/67511
+ * semantics.c (handle_omp_for_class_iterator): Don't wrap
+ error_mark_node into a NOP_EXPR to void_type_node.
+
+2015-09-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/67504
+ * parser.c (cp_parser_omp_clause_collapse): Test tree_fits_shwi_p
+ before INTEGRAL_TYPE_P test.
+
+2015-09-08 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/67369
+ * pt.c (tsubst_copy, [case FUNCTION_DECL]): Do not call tsubst
+ if the first argument isn't a template.
+
+2015-08-17 Jason Merrill <jason@redhat.com>
+
+ PR c++/66957
+ * search.c (protected_accessible_p): Revert fix for 38579.
+
+2015-08-17 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/66919
+ * pt.c (tsubst_copy): Pass complain to mark_used, check return value.
+
+2015-08-17 Jason Merrill <jason@redhat.com>
+
+ PR c++/67244
+ * pt.c (tsubst_copy_and_build): Call insert_pending_capture_proxies.
+
+ PR c++/65734
+ * class.c (fixup_attribute_variants): Respect TYPE_USER_ALIGN.
+
+ PR c++/67104
+ * constexpr.c (cxx_eval_array_reference): Handle sparse
+ CONSTRUCTORs.
+
+2015-08-14 Jason Merrill <jason@redhat.com>
+
+ PR c++/65974
+ * decl2.c (mark_vtable_entries): Suppress -Wdeprecated.
+
+2015-08-14 Patrick Palka <ppalka@gcc.gnu.org>
+
+ PR c++/66857
+ * cvt.c (ocp_convert): Don't call scalar_constant_value when
+ converting to a class type.
+
+2015-08-12 Jason Merrill <jason@redhat.com>
+
+ PR c++/67161
+ * error.c (dump_decl) [TEMPLATE_ID_EXPR]: Pass
+ TFF_NO_OMIT_DEFAULT_TEMPLATE_ARGUMENTS.
+
+2015-08-06 Jason Merrill <jason@redhat.com>
+
+ PR c++/66533
+ * parser.c (cp_parser_primary_expression): Don't skip to the end
+ of the statement if we're parsing tentatively.
+
+ PR c++/67130
+ PR c++/67131
+ PR c++/66260
+ * mangle.c (write_expression) [TEMPLATE_ID_EXPR]: Handle variable
+ templates.
+ * pt.c (tsubst_copy_and_build): Check for argument substitution
+ failure.
+
+2015-08-05 Jason Merrill <jason@redhat.com>
+
+ PR c++/66260
+ PR c++/66596
+ PR c++/66649
+ PR c++/66923
+ * pt.c (lookup_template_variable): Use NULL_TREE for type.
+ (instantiate_template_1): Also set DECL_TI_ARGS based on
+ the immediate parent.
+ (tsubst_copy_and_build) [TEMPLATE_ID_EXPR]: Handle variable templates.
+ (finish_template_variable): Add complain parm.
+ * cp-tree.h: Adjust.
+
+ PR c++/65195
+ PR c++/66619
+ * semantics.c (finish_id_expression): Call convert_from_reference
+ for variable template.
+
+ PR c++/66336
+ * pt.c (find_parameter_packs_r): Handle variable templates.
+ (variable_template_specialization_p): New.
+ * cp-tree.h: Declare it.
+
+2015-07-30 Jason Merrill <jason@redhat.com>
+
+ DR 1558
+ PR c++/67021
+ * pt.c (tsubst_decl) [TYPE_DECL]: Clear TYPE_DEPENDENT_P_VALID.
+
+2015-07-16 Marek Polacek <polacek@redhat.com>
+
+ Backported from mainline
+ 2015-07-08 Marek Polacek <polacek@redhat.com>
+
+ PR c++/66748
+ * tree.c (handle_abi_tag_attribute): Check for CLASS_TYPE_P before
+ accessing TYPE_LANG_SPECIFIC node.
+
+2015-07-16 Release Manager
+
+ * GCC 5.2.0 released.
+
+2015-07-10 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from mainline
+ 2015-07-08 Jakub Jelinek <jakub@redhat.com>
+
+ * decl.c (grokfndecl): Handle flag_openmp_simd like flag_openmp.
+ * pt.c (apply_late_template_attributes): Likewise.
+
+2015-07-02 Jason Merrill <jason@redhat.com>
+
+ PR c++/66743
+ * pt.c (for_each_template_parm_r) [UNDERLYING_TYPE]: Use
+ TYPE_VALUES_RAW rather than TYPE_FIELDS.
+
+2015-06-30 Jason Merrill <jason@redhat.com>
+
+ PR c++/65945
+ * decl.c (cxx_init_decl_processing): Set TYPE_ALIGN of nullptr_t.
+ * class.c (layout_nonempty_base_or_field): Warn if that affects
+ the offset of a field.
+
+2015-06-29 Adam Butcher <adam@jessamine.co.uk>
+
+ PR c++/65750
+ * parser.c (cp_parser_simple_type_specifier): Don't synthesize
+ implicit template parm if 'auto' is a placeholder for trailing
+ return type.
+
+2015-06-26 Jason Merrill <jason@redhat.com>
+
+ PR c++/66216
+ * class.c (finish_struct): Call fixup_attribute_variants.
+
+ PR c++/66067
+ * mangle.c (write_template_args): Handle 0 length TREE_VEC.
+
+2015-06-24 Jason Merrill <jason@redhat.com>
+
+ PR c++/65919
+ * mangle.c (mangle_decl): Always SET_IDENTIFIER_GLOBAL_VALUE.
+ (decl_implicit_alias_p): Split out from maybe_remove_implicit_alias.
+ * cp-tree.h (DECL_REALLY_EXTERN): Handle null DECL_LANG_SPECIFIC.
+
+ PR c++/66647
+ * pt.c (dependent_type_p_r): Check for dependent alias template
+ specialization sooner.
+
+ PR c++/66501
+ * init.c (vec_copy_assign_is_trivial): New.
+ (build_vec_init): Use it.
+
+2015-06-24 Mikhail Maltsev <maltsevm@gmail.com>
+
+ Backport from mainline:
+ 2015-06-20 Mikhail Maltsev <maltsevm@gmail.com>
+
+ PR c++/65882
+ * call.c (build_new_op_1): Check tf_warning flag in all cases.
+
+2015-06-23 Jason Merrill <jason@redhat.com>
+
+ PR c++/65879
+ * tree.c (no_linkage_check): Skip the 'this' pointer.
+
+2015-06-19 Jason Merrill <jason@redhat.com>
+
+ PR c++/66515
+ * call.c (implicit_conversion): Call reshape_init here, early.
+ (build_aggr_conv): Not here.
+
+ PR c++/66585
+ * pt.c (instantiate_class_template_1): Clear
+ cp_unevaluated_operand and c_inhibit_evaluation_warnings.
+
+ PR c++/65880
+ * decl.c (build_ptrmemfunc_type): Check TYPE_GET_PTRMEMFUNC_TYPE after
+ cv-qualifiers.
+
+ PR c++/65973
+ * constexpr.c (build_constexpr_constructor_member_initializers):
+ Handle an empty STATEMENT_LIST.
+
+ PR c++/65843
+ * pt.c (tsubst_copy_and_build): Register a capture proxy in
+ local_specializations.
+
+2015-06-17 Jason Merrill <jason@redhat.com>
+
+ PR c++/66001
+ * constexpr.c (cxx_eval_constant_expression): Handle TRY_BLOCK and
+ TRY_FINALLY_EXPR.
+ (potential_constant_expression_1): Likewise.
+
+2015-06-17 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/66571
+ * pt.c (tsubst_omp_clause_decl): New function.
+ (tsubst_omp_clauses): Use it or tsubst_copy instead of
+ tsubst_expr on OMP_CLAUSE_DECL.
+
+2015-06-17 Jason Merrill <jason@redhat.com>
+
+ PR c++/66536
+ * tree.c (replace_placeholders_r) [CONSTRUCTOR]: Handle type
+ mismatch.
+
+ PR c++/58063
+ * tree.c (bot_manip): Remap SAVE_EXPR.
+
+ PR c++/66387
+ * pt.c (tsubst_copy) [VAR_DECL]: Use process_outer_var_ref.
+
+ PR c++/66450
+ * constexpr.c (cxx_eval_store_expression): Avoid messing up outer
+ ctx->ctor.
+
+ PR c++/66289
+ * cp-tree.h (TEMPLATE_DECL_COMPLEX_ALIAS_P): New.
+ * pt.c (push_template_decl_real): Set it.
+ (dependent_alias_template_spec_p): Use it.
+ (dependent_type_p_r): Use dependent_alias_template_spec_p.
+ (uses_all_template_parms_data, uses_all_template_parms_r)
+ (complex_alias_template_p): New.
+ (get_template_parm_index): Handle BOUND_TEMPLATE_TEMPLATE_PARM.
+
+2015-06-12 Jason Merrill <jason@redhat.com>
+
+ PR c++/65719
+ * pt.c (tsubst_decl) [VAR_DECL]: Mark namespace-scope
+ variables as DECL_NOT_REALLY_EXTERN.
+
+2015-06-11 Jason Merrill <jason@redhat.com>
+
+ PR c++/66445
+ * constexpr.c (potential_constant_expression_1): Handle a
+ DECL_EXPR of TYPE_DECL.
+
+2015-06-11 Pierre-Marie de Rodat <derodat@adacore.com>
+
+ * decl.c (cxx_init_decl_processing): Register the main
+ translation unit through the new debug hook.
+
+2015-06-09 Jason Merrill <jason@redhat.com>
+
+ PR c++/66387
+ * semantics.c (process_outer_var_ref): Make sure the value is
+ actually constant before returning it.
+ * typeck.c (cp_build_array_ref): Allow subscripting non-lvalue
+ array.
+
+ PR c++/66383
+ * tree.c (replace_placeholders_r): Handle placeholders for an
+ outer object.
+ * typeck2.c (store_init_value): Only replace_placeholders for
+ objects of class type.
+
2015-06-05 Jason Merrill <jason@redhat.com>
PR c++/66405