summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-07-22 00:19:09 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-07-22 00:19:09 +0000
commit64edeadbcced95203fa7fc049c26d7ca47ecab7b (patch)
tree21b1dcec5e0b89d79a7df6d1a68e868a9bb8cf58
parent707bc64fbeecf8a10f7aad103534b6999e9d190c (diff)
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/cp/ChangeLog90
-rw-r--r--gcc/testsuite/ChangeLog66
-rw-r--r--libstdc++-v3/ChangeLog93
4 files changed, 250 insertions, 1 deletions
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index ace4919765e..7bdcd4fa865 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220721
+20220722
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 0edb403696f..a304392b292 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,93 @@
+2022-07-21 Jason Merrill <jason@redhat.com>
+
+ PR c++/106361
+ * decl.cc (move_fn_p): Remove assert.
+
+2022-07-21 Patrick Palka <ppalka@redhat.com>
+
+ Backported from master:
+ 2022-07-13 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/105912
+ * call.cc (extract_call_expr): Return a NULL_TREE on failure
+ instead of asserting.
+ * pt.cc (tsubst_copy_and_build) <case CALL_EXPR>: Guard against
+ NULL_TREE extract_call_expr result.
+
+2022-07-21 Patrick Palka <ppalka@redhat.com>
+
+ Backported from master:
+ 2022-07-13 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/105842
+ * constraint.cc (satisfy_declaration_constraints): Refine early
+ exit test for argument dependence.
+ * cp-tree.h (uses_outer_template_parms_in_constraints): Declare.
+ * pt.cc (template_class_depth): Handle TI_TEMPLATE being a
+ FIELD_DECL.
+ (usse_outer_template_parms): Factor out constraint dependence
+ test into ...
+ (uses_outer_template_parms_in_constraints): ... here.
+ (type_dependent_expression_p): Use it for FUNCTION_DECL.
+
+2022-07-21 Patrick Palka <ppalka@redhat.com>
+
+ Backported from master:
+ 2022-06-06 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/53164
+ PR c++/105848
+ * pt.cc (tsubst_copy_and_build) <case CALL_EXPR>: Look through an
+ ADDR_EXPR callee when calling mark_used.
+
+2022-07-21 Patrick Palka <ppalka@redhat.com>
+
+ Backported from master:
+ 2022-06-03 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/105637
+ * tree.cc (maybe_dummy_object): When returning a dummy
+ object, respect the cv-quals of 'this' if available.
+
+2022-07-21 Patrick Palka <ppalka@redhat.com>
+
+ Backported from master:
+ 2022-06-03 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/100374
+ * pt.cc (determine_specialization): Compare overall constraints
+ not just the trailing constraints.
+ (tsubst_each_template_parm_constraints): Define.
+ (tsubst_friend_function): Use it.
+ (tsubst_friend_class): Use it.
+ (tsubst_template_parm): Don't substitute TEMPLATE_PARM_CONSTRAINTS.
+
+2022-07-21 Patrick Palka <ppalka@redhat.com>
+
+ Backported from master:
+ 2022-05-31 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/105758
+ * call.cc (build_over_call): Use z_candidate::conversion_path
+ and ::access_path instead of TYPE_BINFO when building the
+ BASELINK for the templated form.
+
+2022-07-21 Patrick Palka <ppalka@redhat.com>
+
+ Backported from master:
+ 2022-05-26 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/96363
+ * decl.cc (shadow_tag): Use the return value of
+ maybe_process_partial_specialization.
+ * parser.cc (cp_parser_single_declaration): Call shadow_tag
+ before associate_classtype_constraints.
+ * pt.cc (maybe_new_partial_specialization): Change return type
+ to bool. Take 'type' argument by mutable reference. Set 'type'
+ to point to the correct constrained specialization when
+ appropriate.
+ (maybe_process_partial_specialization): Adjust accordingly.
+
2022-07-19 Marek Polacek <polacek@redhat.com>
PR c++/105634
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index eae1ccacd7e..0658fbc9144 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,69 @@
+2022-07-21 Jason Merrill <jason@redhat.com>
+
+ PR c++/106361
+ * g++.dg/cpp2a/spaceship-eq14.C: New test.
+
+2022-07-21 Patrick Palka <ppalka@redhat.com>
+
+ Backported from master:
+ 2022-07-13 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/105912
+ * g++.dg/cpp2a/consteval31.C: New test.
+
+2022-07-21 Patrick Palka <ppalka@redhat.com>
+
+ Backported from master:
+ 2022-07-13 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/105842
+ * g++.dg/cpp2a/concepts-memtmpl6.C: New test.
+
+2022-07-21 Patrick Palka <ppalka@redhat.com>
+
+ Backported from master:
+ 2022-06-06 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/53164
+ PR c++/105848
+ * g++.dg/template/fn-ptr3.C: New test.
+
+2022-07-21 Patrick Palka <ppalka@redhat.com>
+
+ Backported from master:
+ 2022-06-03 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/105637
+ * g++.dg/cpp0x/lambda/lambda-this22.C: New test.
+ * g++.dg/template/non-dependent23.C: New test.
+
+2022-07-21 Patrick Palka <ppalka@redhat.com>
+
+ Backported from master:
+ 2022-06-03 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/100374
+ * g++.dg/cpp2a/concepts-spec2.C: New test.
+ * g++.dg/cpp2a/concepts-template-parm11.C: New test.
+
+2022-07-21 Patrick Palka <ppalka@redhat.com>
+
+ Backported from master:
+ 2022-05-31 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/105758
+ * g++.dg/template/non-dependent24.C: New test.
+
+2022-07-21 Patrick Palka <ppalka@redhat.com>
+
+ Backported from master:
+ 2022-05-26 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/96363
+ * g++.dg/cpp2a/concepts-partial-spec12.C: New test.
+ * g++.dg/cpp2a/concepts-partial-spec12a.C: New test.
+ * g++.dg/cpp2a/concepts-partial-spec13.C: New test.
+
2022-07-20 Harald Anlauf <anlauf@gmx.de>
Backported from master:
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index ce802f563a2..8abb19e3e9d 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,96 @@
+2022-07-21 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2022-07-20 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/100823
+ * include/bits/stl_iterator.h (common_iterator): Define move
+ constructor and move assignment operator.
+ (common_iterator::_M_assign): New function implementing
+ assignment.
+ (common_iterator::operator=): Use _M_assign.
+ (common_iterator::_S_valueless): New constant.
+ * testsuite/24_iterators/common_iterator/100823.cc: New test.
+
+2022-07-21 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2022-07-20 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/stl_iterator.h (common_iterator): Fix incorrect
+ uses of is_nothrow_assignable_v. Fix inconsistent constraints on
+ friend declaration. Do not move argument in copy constructor.
+ * testsuite/24_iterators/common_iterator/1.cc: Check for
+ noexcept constructibnle/assignable.
+
+2022-07-21 Nathan Sidwell <nathan@acm.org>
+
+ Backported from master:
+ 2022-05-26 Nathan Sidwell <nathan@acm.org>
+
+ * include/bits/hashtable.h: Include required headers.
+ * include/bits/hashtable_policy.h: Likewise.
+ * include/bits/stl_heap.h: Likewise.
+ * include/bits/stl_iterator_base_funcs.h: Likewise.
+
+2022-07-21 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2022-06-30 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/utility.h: Fix comment typos.
+
+2022-07-21 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2022-06-28 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/20_util/from_chars/4.cc: Only use log2 if C99 math
+ functions are available.
+
+2022-07-21 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2022-06-23 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/26_numerics/random/random_device/entropy.cc: Use
+ numeric_limits<unsigned>::digits.
+
+2022-07-21 Marco Falke <falke.marco@gmail.com>
+
+ Backported from master:
+ 2022-07-19 Marco Falke <falke.marco@gmail.com>
+
+ * include/std/charconv (__from_chars_alnum_to_val): Replace
+ implicit conversion from int to unsigned char with explicit
+ cast.
+
+2022-07-21 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2022-06-30 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/88881
+ * src/filesystem/ops.cc (has_trailing_slash): New helper
+ function.
+ (fs::status): Strip trailing slashes.
+ (fs::symlink_status): Likewise.
+ * testsuite/experimental/filesystem/operations/temp_directory_path.cc:
+ Clean the environment before each test and use TMP instead of
+ TMPDIR so the test passes on Windows.
+
+2022-07-21 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2022-06-10 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/105880
+ * libsupc++/eh_globals.cc (eh_globals): Ensure constant init and
+ prevent destruction during termination.
+ (__eh_globals_init::_M_init): Replace with static member _S_init.
+ (__cxxabiv1::__cxa_get_globals_fast): Update.
+ (__cxxabiv1::__cxa_get_globals): Likewise.
+
2022-07-07 Jonathan Wakely <jwakely@redhat.com>
Backported from master: