aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-10-26 00:17:15 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-10-26 00:17:15 +0000
commite73ca788c64a1f44fa0cdc3aa0a862f7fbc84276 (patch)
tree189d475ea604056853d88c6dc11a47ee2c41b68d /gcc/cp
parent65f5fa23844b55e3c6359e1612e6fdd4d10950d0 (diff)
downloadgcc-e73ca788c64a1f44fa0cdc3aa0a862f7fbc84276.zip
gcc-e73ca788c64a1f44fa0cdc3aa0a862f7fbc84276.tar.gz
gcc-e73ca788c64a1f44fa0cdc3aa0a862f7fbc84276.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog67
1 files changed, 67 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 04c8216..550515c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,70 @@
+2022-10-25 Nathan Sidwell <nathan@acm.org>
+
+ * parser.cc (synthesize_implicit_template_parm): Fix thinko about
+ mark the new parm DECL_VIRTUAL_P. Avoid unneccessary tree_last call.
+
+2022-10-25 Patrick Palka <ppalka@redhat.com>
+
+ * constraint.cc (resolve_function_concept_overload): Explicitly
+ pass complain=tf_none to coerce_template_parms.
+ (resolve_concept_check): Likewise.
+ (normalize_concept_check): Likewise.
+ * cp-tree.h (coerce_template_parms): Declare the main overload
+ and default its last parameter to true. Remove wrapper overloads.
+ * pt.cc (determine_specialization): Adjust calls to
+ coerce_template_parms and coerce_innermost_template_parms after
+ removing their last parameter.
+ (coerce_template_args_for_ttp): Likewise.
+ (coerce_ttp_args_for_tta): Likewise.
+ (coerce_template_template_parms): Likewise.
+ (coerce_template_parms): Remove use_default_args parameter and
+ adjust function comment. Document default argument. Remove
+ wrapper overloads. No longer static.
+ (coerce_innermost_template_parms): Remove use_default_args
+ parameter. Default require_all_args to true.
+ (lookup_template_class): As with determine_specialization.
+ (finish_template_variable): Likewise.
+ (tsubst_decl): Likewise.
+ (instantiate_alias_template): Likewise.
+ (fn_type_unification): Likewise.
+ (resolve_overloaded_unification): Likewise.
+ (resolve_nondeduced_context): Likewise.
+ (get_partial_spec_bindings): Likewise.
+
+2022-10-25 Jason Merrill <jason@redhat.com>
+
+ * constexpr.cc (find_failing_clause_r): Re-add the call to
+ contextual_conv_bool.
+
+2022-10-25 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/106848
+ PR c++/102600
+ * module.cc (trees_out::core_vals): Stream TYPE_MAX_VALUE and
+ TYPE_MIN_VALUE of ENUMERAL_TYPE.
+ (trees_in::core_vals): Likewise.
+ (trees_out::write_enum_def): Don't stream them here.
+ (trees_in::read_enum_def): Likewise.
+
+2022-10-25 Jason Merrill <jason@redhat.com>
+
+ * constexpr.cc (class constexpr_global_ctx): Add modifiable field,
+ get_value, get_value_ptr, put_value, remove_value, flush_modifiable
+ member functions.
+ (class modifiable_tracker): New.
+ (cxx_eval_internal_function): Use it.
+ (diagnose_failing_condition): Strip CLEANUP_POINT_EXPR.
+
+2022-10-25 Jason Merrill <jason@redhat.com>
+
+ * constexpr.cc (fold_operand): New function.
+ (find_failing_clause_r): Add const.
+ (find_failing_clause): Add const.
+ (diagnose_failing_condition): Add ctx parameter.
+ (cxx_eval_internal_function): Pass it.
+ * semantics.cc (diagnose_failing_condition): Move to constexpr.cc.
+ * cp-tree.h: Adjust.
+
2022-10-24 Jason Merrill <jason@redhat.com>
* cp-gimplify.cc (fold_builtin_source_location)