aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-01-15 00:16:27 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-01-15 00:16:27 +0000
commit617db51d7ebef18912c158a890728e164f2d8927 (patch)
tree5b5ccd6cbfb0c59d2609b140b2349cb602a9276f
parent952b7dbb418198f86d7829aaf9d7f9fc7714a8b3 (diff)
downloadgcc-617db51d7ebef18912c158a890728e164f2d8927.zip
gcc-617db51d7ebef18912c158a890728e164f2d8927.tar.gz
gcc-617db51d7ebef18912c158a890728e164f2d8927.tar.bz2
Daily bump.
-rw-r--r--gcc/ChangeLog113
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog6
-rw-r--r--gcc/analyzer/ChangeLog30
-rw-r--r--gcc/c-family/ChangeLog5
-rw-r--r--gcc/c/ChangeLog6
-rw-r--r--gcc/cp/ChangeLog16
-rw-r--r--gcc/fortran/ChangeLog12
-rw-r--r--gcc/testsuite/ChangeLog131
-rw-r--r--libgcc/ChangeLog5
-rw-r--r--libgfortran/ChangeLog7
-rw-r--r--libstdc++-v3/ChangeLog252
12 files changed, 584 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d9d8dda..e7382a5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,116 @@
+2022-01-14 Eric Botcazou <ebotcazou@adacore.com>
+
+ * ipa-param-manipulation.c (ipa_dump_adjusted_parameters): Dump
+ reverse flag as "reverse" for the sake of consistency.
+ * ipa-sra.c: Fix copyright year.
+ (ipa_sra_function_summaries::duplicate): Copy the reverse flag.
+ (dump_isra_access): Tweak dump line.
+ (isra_write_node_summary): Write the reverse flag.
+ (isra_read_node_info): Read it.
+ (pull_accesses_from_callee): Test its consistency and copy it.
+
+2022-01-14 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR middle-end/104026
+ * tree-vect-loop.c (_loop_vec_info::_loop_vec_info): Initialize
+ partial_load_store_bias.
+
+2022-01-14 Martin Sebor <msebor@redhat.com>
+
+ PR middle-end/101475
+ * pointer-query.cc (handle_component_ref): Use the size of
+ the enclosing object if it's smaller than the member.
+
+2022-01-14 Martin Liska <mliska@suse.cz>
+
+ * configure: Regenerate.
+
+2022-01-14 Uroš Bizjak <ubizjak@gmail.com>
+
+ * config/i386/i386.md (*add<mode>_1_slp"):
+ Mark alternative 1 output operand earlyclobbered.
+ (*sub<mode>_1_slp): Ditto.
+ (*and<mode>_1_slp): Ditto.
+ (*<code><mode>_1_slp): Ditto.
+ (*neg<mode>_1_slp): Ditto.
+ (*one_cmpl<mode>_1_slp): Ditto.
+ (*ashl<mode>3_1_slp): Ditto.
+ (*<insn><mode>3_1_slp): Ditto.
+ (*<insn><mode>3_1_slp): Ditto.
+
+2022-01-14 Kewen Lin <linkw@linux.ibm.com>
+
+ PR tree-optimization/104015
+ * tree-vect-loop.c (vect_analyze_loop): Check
+ param_vect_partial_vector_usage for supports_partial_vectors.
+
+2022-01-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/89074
+ * fold-const.c (address_compare): Punt on comparison of address of
+ one object with address of end of another object if
+ folding_initializer.
+
+2022-01-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/98737
+ * tree-ssa-forwprop.c (simplify_builtin_call): Canonicalize
+ __atomic_fetch_op (p, x, y) op x into __atomic_op_fetch (p, x, y)
+ and __atomic_op_fetch (p, x, y) iop x into
+ __atomic_fetch_op (p, x, y).
+
+2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
+
+ * config/arc/arc.h (DWARF_FRAME_REGNUM): Update definition.
+ (DWARF_FRAME_RETURN_COLUMN): Use RETURN_ADDR_REGNUM macro.
+ (INCOMING_RETURN_ADDR_RTX): Likewise.
+ (DWARF_ALT_FRAME_RETURN_COLUMN): Define.
+
+2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
+
+ * config/arc/arc.c (arc_compute_frame_size): Remove condition when
+ computin checking accumulator regs.
+ (arc_expand_prologue): Update comments.
+ (arc_expand_epilogue): Likewise.
+
+2022-01-14 Roger Sayle <roger@nextmovesoftware.com>
+ Uroš Bizjak <ubizjak@gmail.com>
+
+ * config/i386/i386-expand.c (ix86_expand_v1ti_to_ti): Use force_reg.
+ (ix86_expand_ti_to_v1ti): Use force_reg.
+ (ix86_expand_v1ti_shift): Use force_reg.
+ (ix86_expand_v1ti_rotate): Use force_reg.
+ (ix86_expand_v1ti_ashiftrt): Provide new three operation
+ implementations for shifts by 111..126 bits. Use force_reg.
+
+2022-01-14 Martin Liska <mliska@suse.cz>
+
+ * common/config/arm/arm-common.c (arm_target_mode): Fix
+ warning: unterminated quoting directive [-Wformat=].
+
+2022-01-14 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ PR tree-optimization/104009
+ * tree-object-size.c (compute_builtin_object_size): Bail out on
+ negative offset.
+ (plus_stmt_object_size): Return maximum of wholesize and minimum
+ of 0 for negative offset.
+
+2022-01-14 liuhongt <hongtao.liu@intel.com>
+
+ PR target/104001
+ PR target/94790
+ PR target/104014
+ * config/i386/i386.md (*xor2andn): Refine predicate of
+ operands[0] from nonimmediate_operand to
+ register_operand, remove TARGET_AVX512BW from condition.
+
+2022-01-14 David Malcolm <dmalcolm@redhat.com>
+
+ * doc/extend.texi (Function Attributes): Note that "tainted_args" can
+ be used on field decls.
+ (Common Function Attributes): Add entry on "tainted_args" attribute.
+
2022-01-13 Anthony Sharp <anthonysharp15@gmail.com>
Jason Merrill <jason@redhat.com>
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index b0d3d8e..52fea2e 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220114
+20220115
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index dc9d9ea..6fc5e6e 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,9 @@
+2022-01-14 Andrew Pinski <apinski@marvell.com>
+
+ PR ada/104027
+ * gnat1drv.adb (Gnat1drv): After Back_End.Gen_Or_Update_Object_File
+ goto End_Of_Program.
+
2022-01-11 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/utils2.c (build_binary_op) <EQ_EXPR>: Relax a
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index b82f244..d6fa09c 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,33 @@
+2022-01-14 David Malcolm <dmalcolm@redhat.com>
+
+ * sm-taint.cc (taint_state_machine::combine_states): Handle combination
+ of has_ub and has_lb.
+
+2022-01-14 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/104029
+ * sm-taint.cc (taint_state_machine::alt_get_inherited_state):
+ Remove gcc_unreachable from default case for unary ops.
+
+2022-01-14 David Malcolm <dmalcolm@redhat.com>
+
+ * engine.cc: Include "stringpool.h", "attribs.h", and
+ "tree-dfa.h".
+ (mark_params_as_tainted): New.
+ (class tainted_args_function_custom_event): New.
+ (class tainted_args_function_info): New.
+ (exploded_graph::add_function_entry): Handle functions with
+ "tainted_args" attribute.
+ (class tainted_args_field_custom_event): New.
+ (class tainted_args_callback_custom_event): New.
+ (class tainted_args_call_info): New.
+ (add_tainted_args_callback): New.
+ (add_any_callbacks): New.
+ (exploded_graph::build_initial_worklist): Likewise.
+ (exploded_graph::build_initial_worklist): Find callbacks that are
+ reachable from global initializers, calling add_any_callbacks on
+ them.
+
2022-01-12 David Malcolm <dmalcolm@redhat.com>
PR analyzer/103940
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 3a2a846..c25f86f 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,8 @@
+2022-01-14 David Malcolm <dmalcolm@redhat.com>
+
+ * c-attribs.c (c_common_attribute_table): Add "tainted_args".
+ (handle_tainted_args_attribute): New.
+
2022-01-13 Anthony Sharp <anthonysharp15@gmail.com>
Jason Merrill <jason@redhat.com>
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index c3933da..8463f0d 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,9 @@
+2022-01-14 Chung-Lin Tang <cltang@codesourcery.com>
+
+ PR c++/103705
+ * c-typeck.c (c_finish_omp_clauses): Also continue peeling off of
+ outer node for ARRAY_REFs.
+
2022-01-01 Jakub Jelinek <jakub@redhat.com>
PR objc/103639
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index d823a61..151979a 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,19 @@
+2022-01-14 Chung-Lin Tang <cltang@codesourcery.com>
+
+ PR c++/103705
+ * semantics.c (finish_omp_clauses): Also continue peeling off of
+ outer node for ARRAY_REFs.
+
+2022-01-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/103991
+ * cp-objcp-common.c (cxx_block_may_fallthru) <case IF_STMT>: For
+ IF_STMT_CONSTEXPR_P with constant false or true condition only
+ check if the taken clause may fall through.
+ * cp-gimplify.c (genericize_if_stmt): For consteval if, revert
+ to r12-5638^ behavior if then_ block can't fall through. For
+ constexpr if, revert to r12-5638^ behavior.
+
2022-01-13 Anthony Sharp <anthonysharp15@gmail.com>
Jason Merrill <jason@redhat.com>
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index c08f3c1..99ab840 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,15 @@
+2022-01-14 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/99256
+ * intrinsic.c: Do not check formal argument type when checking
+ arguments of intrinsics for alternate return specifiers.
+
+2022-01-14 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/103782
+ * expr.c (gfc_simplify_expr): Adjust logic for when to scalarize a
+ call of an intrinsic which may have been overloaded.
+
2022-01-13 Hafiz Abid Qadeer <abidh@codesourcery.com>
* dump-parse-tree.c (show_omp_clauses): Handle OMP_LIST_ALLOCATE.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e91aeea..3c3b3cc 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,134 @@
+2022-01-14 David Malcolm <dmalcolm@redhat.com>
+
+ * gcc.dg/analyzer/taint-merger.c: New test.
+
+2022-01-14 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/104029
+ * gcc.dg/analyzer/pr104029.c: New test.
+ * gcc.dg/analyzer/taint-ops.c: New test.
+
+2022-01-14 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/99256
+ * gfortran.dg/altreturn_11.f90: New test.
+
+2022-01-14 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gnat.dg/lto25.adb: New test.
+ * gnat.dg/opt96.adb: Likewise.
+ * gnat.dg/opt96_pkg.ads, gnat.dg/opt96_pkg.adb: New helper.
+
+2022-01-14 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/103782
+ * gfortran.dg/overload_4.f90: New test.
+
+2022-01-14 Martin Sebor <msebor@redhat.com>
+
+ PR middle-end/101475
+ * gcc.dg/Wstringop-overflow-15.c: Remove xfails.
+ * gcc.dg/Wstringop-overflow-68.c: Adjust, remove xfails.
+ * gcc.dg/Wstringop-overflow-88.c: New test.
+
+2022-01-14 Martin Sebor <msebor@redhat.com>
+
+ * gcc.dg/tree-ssa/builtin-sprintf-warn-28.c: New test.
+
+2022-01-14 Martin Liska <mliska@suse.cz>
+
+ * c-c++-common/Walloca-larger-than.c: Fix typo.
+
+2022-01-14 Martin Liska <mliska@suse.cz>
+
+ * g++.dg/cpp0x/pr56868.cpp: Moved to...
+ * g++.dg/cpp0x/pr56868.C: ...here.
+ * gcc.dg/torture/pr57993-2.cpp: Moved to...
+ * g++.dg/torture/pr57993-2.C: ...here.
+
+2022-01-14 Martin Liska <mliska@suse.cz>
+
+ * c-c++-common/Walloca-larger-than.C: Moved to...
+ * c-c++-common/Walloca-larger-than.c: ...here.
+
+2022-01-14 Chung-Lin Tang <cltang@codesourcery.com>
+
+ PR c++/103705
+ * c-c++-common/gomp/pr103705.c: New test.
+
+2022-01-14 Martin Liska <mliska@suse.cz>
+
+ * g++.dg/vect/pr99149.cc: Remove executable mode.
+ * g++.dg/vect/pr99220.cc: Likewise.
+ * g++.target/i386/avx512vl-pr100738-1.C: Likewise.
+ * g++.target/i386/pr100738-1.C: Likewise.
+ * gcc.target/aarch64/advsimd-intrinsics/bfdot-1.c: Likewise.
+ * gcc.target/aarch64/advsimd-intrinsics/bfdot-2.c: Likewise.
+ * gcc.target/aarch64/advsimd-intrinsics/bfdot-3.c: Likewise.
+ * gcc.target/aarch64/advsimd-intrinsics/vdot-3-1.c: Likewise.
+ * gcc.target/aarch64/advsimd-intrinsics/vdot-3-2.c: Likewise.
+ * gcc.target/aarch64/advsimd-intrinsics/vdot-3-3.c: Likewise.
+ * gcc.target/aarch64/advsimd-intrinsics/vdot-3-4.c: Likewise.
+ * gcc.target/i386/pr101796-1.c: Likewise.
+ * gcc.target/i386/pr94790-1.c: Likewise.
+ * gcc.target/i386/pr94790-2.c: Likewise.
+ * gcc.target/powerpc/mma-double-test.c: Likewise.
+ * gcc.target/powerpc/mma-single-test.c: Likewise.
+ * gdc.test/fail_compilation/constraints_aggr.d: Likewise.
+ * gdc.test/fail_compilation/constraints_defs.d: Likewise.
+ * gdc.test/fail_compilation/constraints_func1.d: Likewise.
+ * gdc.test/fail_compilation/constraints_func2.d: Likewise.
+ * gdc.test/fail_compilation/constraints_func3.d: Likewise.
+ * gdc.test/fail_compilation/constraints_func4.d: Likewise.
+ * gdc.test/fail_compilation/constraints_tmpl.d: Likewise.
+ * gdc.test/fail_compilation/imports/constraints.d: Likewise.
+
+2022-01-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/103991
+ * g++.dg/warn/Wreturn-type-13.C: New test.
+
+2022-01-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/89074
+ * g++.dg/cpp1y/constexpr-89074-1.C: New test.
+
+2022-01-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/98737
+ * gcc.dg/tree-ssa/pr98737-1.c: New test.
+ * gcc.dg/tree-ssa/pr98737-2.c: New test.
+
+2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
+
+ * gcc.target/arc/cancel-1.c: New file.
+
+2022-01-14 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ PR tree-optimization/104009
+ * gcc.dg/builtin-object-size-1.c (test10): New test.
+ * gcc.dg/builtin-object-size-3.c (test10): Likewise.
+ (test9): Expect zero size for negative offsets.
+ * gcc.dg/builtin-object-size-4.c (test8): Likewise.
+ * gcc.dg/builtin-object-size-5.c (test7): Drop test for
+ __builtin_object_size.
+
+2022-01-14 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/pr104001.c: New test.
+
+2022-01-14 David Malcolm <dmalcolm@redhat.com>
+
+ * gcc.dg/analyzer/attr-tainted_args-1.c: New test.
+ * gcc.dg/analyzer/attr-tainted_args-misuses.c: New test.
+ * gcc.dg/analyzer/taint-CVE-2011-2210-1.c: New test.
+ * gcc.dg/analyzer/taint-CVE-2020-13143-1.c: New test.
+ * gcc.dg/analyzer/taint-CVE-2020-13143-2.c: New test.
+ * gcc.dg/analyzer/taint-CVE-2020-13143.h: New test.
+ * gcc.dg/analyzer/taint-alloc-3.c: New test.
+ * gcc.dg/analyzer/taint-alloc-4.c: New test.
+ * gcc.dg/analyzer/test-uaccess.h: New test.
+
2022-01-13 Anthony Sharp <anthonysharp15@gmail.com>
Jason Merrill <jason@redhat.com>
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 7ba515c..6ecc75c 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,8 @@
+2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
+
+ * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
+ DWARF_ALT_FRAME_RETURN_COLUMN macro.
+
2022-01-04 Florian Weimer <fweimer@redhat.com>
* unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index fbd5372..b4f4513 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,10 @@
+2022-01-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR libfortran/104006
+ * Makefile.am (BUILT_SOURCES): Don't include $(version_dep).
+ (clean-local): Remove $(version_dep).
+ * Makefile.in: Regenerated.
+
2022-01-13 Jakub Jelinek <jakub@redhat.com>
PR libfortran/104006
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e804c71..677f343 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,255 @@
+2022-01-14 Uroš Bizjak <ubizjak@gmail.com>
+
+ * testsuite/22_locale/numpunct/members/char/3.cc:
+ Require pt_PT locale instead of nl_NL.
+ (test02): Use pt_PT locale instead of nl_NL.
+
+2022-01-14 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/91260
+ PR libstdc++/91383
+ PR libstdc++/95065
+ * include/backward/binders.h (bind1st, bind2nd): Add deprecated
+ attribute.
+ * include/bits/refwrap.h (_Maybe_unary_or_binary_function):
+ Disable deprecated warnings for base classes.
+ (_Reference_wrapper_base): Likewise.
+ * include/bits/shared_ptr_base.h (_Sp_owner_less): Likewise.
+ * include/bits/stl_bvector.h (_Bit_iterator_base): Likewise.
+ * include/bits/stl_function.h (unary_function, binary_function):
+ Add deprecated attribute.
+ (unary_negate, not1, binary_negate, not2, ptr_fun)
+ (pointer_to_unary_function, pointer_to_binary_function)
+ (mem_fun_t, const_mem_fun_t, mem_fun_ref_t, const_mem_fun_ref_t)
+ (mem_fun1_t, const_mem_fun1_t, mem_fun_ref1_t)
+ (const_mem_fun1_ref_t, mem_fun, mem_fun_ref): Add deprecated
+ attributes.
+ * include/bits/stl_iterator.h: Disable deprecated warnings for
+ std::iterator base classes.
+ * include/bits/stl_iterator_base_types.h (iterator): Add
+ deprecated attribute.
+ * include/bits/stl_map.h (map::value_compare): Disable
+ deprecated warnings for base class.
+ * include/bits/stl_multimap.h (multimap::value_compare):
+ Likewise.
+ * include/bits/stl_raw_storage_iter.h (raw_storage_iterator):
+ Add deprecated attribute.
+ * include/bits/stl_tempbuf.h (get_temporary_buffer): Likewise.
+ * include/bits/stream_iterator.h: Disable deprecated warnings.
+ * include/bits/streambuf_iterator.h: Likewise.
+ * include/ext/bitmap_allocator.h: Remove unary_function base
+ classes.
+ * include/ext/functional: Disable deprecated warnings.
+ * include/ext/rope: Likewise.
+ * include/ext/throw_allocator.h: Likewise.
+ * include/std/type_traits (result_of): Add deprecated attribute.
+ * include/tr1/functional: Disable deprecated warnings.
+ * include/tr1/functional_hash.h: Likewise.
+ * testsuite/20_util/function_objects/binders/1.cc: Add
+ -Wno-disable-deprecations.
+ * testsuite/20_util/function_objects/binders/3113.cc: Likewise.
+ * testsuite/20_util/function_objects/constexpr.cc: Add
+ dg-warning.
+ * testsuite/20_util/raw_storage_iterator/base.cc: Likewise.
+ * testsuite/20_util/raw_storage_iterator/dr2127.cc: Likewise.
+ * testsuite/20_util/raw_storage_iterator/requirements/base_classes.cc:
+ Likewise.
+ * testsuite/20_util/raw_storage_iterator/requirements/explicit_instantiation/1.cc:
+ Likewise.
+ * testsuite/20_util/raw_storage_iterator/requirements/typedefs.cc:
+ Likewise.
+ * testsuite/20_util/reference_wrapper/24803.cc:
+ Likewise.
+ * testsuite/20_util/reference_wrapper/typedefs.cc: Enable for
+ C++20 and check for absence of nested types.
+ * testsuite/20_util/shared_ptr/comparison/less.cc: Remove
+ std::binary_function base class.
+ * testsuite/20_util/temporary_buffer.cc: Add dg-warning.
+ * testsuite/21_strings/basic_string/cons/char/69092.cc: Remove
+ std::iterator base class.
+ * testsuite/24_iterators/back_insert_iterator/requirements/base_classes.cc:
+ Likewise.
+ * testsuite/24_iterators/front_insert_iterator/requirements/base_classes.cc:
+ Likewise.
+ * testsuite/24_iterators/insert_iterator/requirements/base_classes.cc:
+ Likewise.
+ * testsuite/24_iterators/istream_iterator/requirements/base_classes.cc:
+ Likewise.
+ * testsuite/24_iterators/istreambuf_iterator/92285.cc:
+ Likewise.
+ * testsuite/24_iterators/istreambuf_iterator/requirements/base_classes.cc:
+ Likewise.
+ * testsuite/24_iterators/ostream_iterator/requirements/base_classes.cc:
+ Likewise.
+ * testsuite/24_iterators/ostreambuf_iterator/requirements/base_classes.cc:
+ Likewise.
+ * testsuite/24_iterators/reverse_iterator/requirements/base_classes.cc:
+ Likewise.
+ * testsuite/25_algorithms/copy/34595.cc:
+ Likewise.
+ * testsuite/25_algorithms/minmax/3.cc: Remove std::binary_function
+ base class.
+ * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/2.cc:
+ Disable deprecated warnings.
+ * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/count_if/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/count_if/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/find_end/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/find_end/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/find_first_of/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/find_first_of/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/find_if/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/find_if/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/find_if_not/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/find_if_not/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/for_each/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/for_each/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/is_partitioned/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/is_partitioned/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/is_permutation/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/is_permutation/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/partition/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/partition/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/partition_copy/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/partition_copy/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/partition_point/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/partition_point/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/random_shuffle/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/random_shuffle/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/remove_copy_if/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/remove_copy_if/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/remove_if/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/remove_if/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/replace_copy_if/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/replace_copy_if/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/replace_if/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/replace_if/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/search/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/search/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/search_n/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/search_n/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/stable_partition/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/stable_partition/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/25_algorithms/transform/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/transform/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: Add
+ dg-warning.
+ * testsuite/ext/pb_ds/example/priority_queue_erase_if.cc:
+ Likewise.
+ * testsuite/ext/pb_ds/example/priority_queue_split_join.cc:
+ Likewise.
+ * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
+ Disable deprecated warnings.
+ * testsuite/tr1/6_containers/hash/requirements/base_classes.cc:
+ Likewise.
+ * testsuite/util/regression/trait/erase_if_fn.hpp: Remove
+ std::unary_function base classes.
+ * testsuite/util/testsuite_iterators.h (output_iterator_wrapper):
+ Remove std::iterator base classes.
+
+2022-01-14 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/shared_ptr.h (__cpp_lib_shared_ptr_weak_type):
+ Correct type of macro value.
+ (shared_ptr): Add additional friend declarations.
+ (make_shared, allocate_shared): Constrain existing overloads and
+ remove static_assert.
+ * include/bits/shared_ptr_base.h (__cpp_lib_smart_ptr_for_overwrite):
+ New macro.
+ (_Sp_counted_ptr_inplace<T, Alloc, Lp>): New partial
+ specialization for use with make_shared_for_overwrite.
+ (__cpp_lib_shared_ptr_arrays): Update value for C++20.
+ (_Sp_counted_array_base): New class template.
+ (_Sp_counted_array): New class template.
+ (__shared_count(_Tp*&, const _Sp_counted_array_base&, _Init)):
+ New constructor for allocating shared arrays.
+ (__shared_ptr(const _Sp_counted_array_base&, _Init)): Likewise.
+ * include/std/version (__cpp_lib_shared_ptr_weak_type): Correct
+ type.
+ (__cpp_lib_shared_ptr_arrays): Update value for C++20.
+ (__cpp_lib_smart_ptr_for_overwrite): New macro.
+ * testsuite/20_util/shared_ptr/creation/99006.cc: Adjust
+ expected errors.
+ * testsuite/20_util/shared_ptr/creation/array.cc: New test.
+ * testsuite/20_util/shared_ptr/creation/overwrite.cc: New test.
+ * testsuite/20_util/shared_ptr/creation/version.cc: New test.
+ * testsuite/20_util/unique_ptr/creation/for_overwrite.cc: Check
+ feature test macro. Test non-trivial default-initialization.
+
+2022-01-14 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/stl_construct.h (_Construct, _Construct_novalue):
+ Also cast away cv-qualifiers when converting pointer to void.
+ * testsuite/20_util/allocator/void.cc: Test construct function
+ with cv-qualified types.
+
+2022-01-14 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/103992
+ * include/bits/stl_iterator.h (common_iterator): Use
+ std::construct_at instead of placement new.
+ * testsuite/24_iterators/common_iterator/1.cc: Check copy
+ construction is usable in constant expressions.
+
+2022-01-14 Jonathan Wakely <jwakely@redhat.com>
+
+ * doc/xml/manual/status_cxx2011.xml: Document new tokens
+ accepted by std::random_device constructor.
+ * doc/html/manual/status.html: Regenerate.
+
2022-01-12 Patrick Palka <ppalka@redhat.com>
* testsuite/20_util/to_chars/103955.cc: Add explicit dg-do