summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2020-10-30 00:16:29 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2020-10-30 00:16:29 +0000
commit4f0606fe4bbf1346f83dd4d0c9060c6b46672a7d (patch)
tree467d88884131daeed858269e1a756d1e79063fcb
parentffe6b4101501b5ada6f09a1fdf3822a23b68b5aa (diff)
Daily bump.
-rw-r--r--gcc/ChangeLog171
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c/ChangeLog7
-rw-r--r--gcc/cp/ChangeLog92
-rw-r--r--gcc/testsuite/ChangeLog92
-rw-r--r--gotools/ChangeLog6
-rw-r--r--libgcc/ChangeLog11
-rw-r--r--libstdc++-v3/ChangeLog268
8 files changed, 648 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 58ed7b12850..3291758820d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,174 @@
+2020-10-29 Richard Biener <rguenther@suse.de>
+
+ * tree-ssa-pre.c (compute_avail): Free operands consistently.
+ * tree-vect-loop.c (vectorizable_phi): Make sure all operand
+ defs vectors are released.
+
+2020-10-29 Jan Hubicka <jh@suse.cz>
+
+ * vec.h (vec<T, va_heap, vl_ptr>::copy): Pass mem stat info.
+
+2020-10-29 Jan Hubicka <jh@suse.cz>
+
+ * wide-int.h (trailing_wide_ints <N>): Turn len to array of structures
+ so it does not imply typeless storage.
+ (trailing_wide_ints <N>::operator): update
+ (trailing_wide_ints <N>::operator []): Update.
+
+2020-10-29 Joseph Myers <joseph@codesourcery.com>
+
+ * ginclude/stdbool.h [__STDC_VERSION__ > 201710L] (true, false):
+ Define with type _Bool.
+
+2020-10-29 Aldy Hernandez <aldyh@redhat.com>
+
+ PR tree-optimization/97505
+ * vr-values.c (vr_values::extract_range_basic): Enable
+ trap again for everything except UBSAN builtins.
+
+2020-10-29 Richard Sandiford <richard.sandiford@arm.com>
+
+ * tree-vectorizer.h (vect_transform_slp_perm_load): Take an
+ optional extra parameter.
+ * tree-vect-slp.c (vect_transform_slp_perm_load): Calculate
+ the number of loads as well as the number of permutes, taking
+ the counting loop from...
+ * tree-vect-stmts.c (vect_model_load_cost): ...here. Use the
+ value computed by vect_transform_slp_perm_load for ncopies.
+
+2020-10-29 Martin Liska <mliska@suse.cz>
+
+ PR lto/97508
+ * langhooks.c (lhd_begin_section): Call get_section with
+ not_existing = true.
+ * output.h (get_section): Add new argument.
+ * varasm.c (get_section): Fail when NOT_EXISTING is true
+ and a section already exists.
+ * ipa-cp.c (ipcp_write_summary): Remove.
+ (ipcp_read_summary): Likewise.
+ * ipa-fnsummary.c (ipa_fn_summary_read): Always read jump
+ functions summary.
+ (ipa_fn_summary_write): Always stream it.
+
+2020-10-29 Richard Biener <rguenther@suse.de>
+
+ * tree-vect-slp.c (vect_bb_slp_scalar_cost): Pass
+ SLP_TREE_VECTYPE to record_stmt_cost.
+
+2020-10-29 Martin Liska <mliska@suse.cz>
+
+ * optc-gen.awk: Check that params start with -param=.
+ * params.opt: Fix ipa-jump-function-lookups.
+
+2020-10-29 Alexandre Oliva <oliva@adacore.com>
+
+ * tree-ssa-math-opts.c (sincos_stats): Add conv_removed.
+ (execute_cse_conv_1): New.
+ (execute_cse_sincos_1): Call it. Fix return within
+ FOR_EACH_IMM_USE_STMT.
+ (pass_cse_sincos::execute): Report conv_inserted.
+
+2020-10-29 Xuepeng Guo <xuepeng.guo@intel.com>
+ Hongyu Wang <hongyu.wang@intel.com>
+ Hongtao Liu <hongtao.liu@intel.com>
+
+ * common/config/i386/cpuinfo.h (get_available_features):
+ Detect KL, AESKLE and WIDEKL features.
+ * common/config/i386/i386-common.c
+ (OPTION_MASK_ISA_KL_SET): New.
+ (OPTION_MASK_ISA_WIDEKL_SET): Likewise.
+ (OPTION_MASK_ISA_KL_UNSET): Likewise.
+ (OPTION_MASK_ISA_WIDEKL_UNSET): Likewise.
+ (OPTION_MASK_ISA2_AVX2_UNSET): Likewise.
+ (OPTION_MASK_ISA2_AVX_UNSET): Likewise.
+ (OPTION_MASK_ISA2_SSE4_2_UNSET): Likewise.
+ (OPTION_MASK_ISA2_SSE4_1_UNSET): Likewise.
+ (OPTION_MASK_ISA2_SSE4_UNSET): Likewise.
+ (OPTION_MASK_ISA2_SSSE3_UNSET): Likewise.
+ (OPTION_MASK_ISA2_SSE3_UNSET): Likewise.
+ (OPTION_MASK_ISA2_SSE2_UNSET): Likewise.
+ (OPTION_MASK_ISA2_SSE_UNSET): Likewise.
+ (ix86_handle_option): Handle kl and widekl, add dependency chain
+ for KL and SSE2.
+ * common/config/i386/i386-cpuinfo.h (enum processor_features):
+ (FEATURE_KL, FEATURE_AESKLE, FEATURE_WIDEKL): New.
+ * common/config/i386/i386-isas.h: Add ISA_NAMES_TABLE_ENTRY
+ for KL, AESKLE and WIDEKL.
+ * config.gcc: Add keylockerintrin.h.
+ * doc/invoke.texi: Document new option -mkl and -mwidekl.
+ * doc/extend.texi: Document kl and widekl.
+ * config/i386/cpuid.h (bit_KL, bit_AESKLE, bit_WIDEKL): New.
+ * config/i386/i386-builtin-types.def ((UINT, UINT, V2DI, V2DI, PVOID),
+ (UINT, UINT, V2DI, PVOID), (VOID, V2DI, V2DI, V2DI, UINT),
+ (UINT8, PV2DI, V2DI, PCVOID), (UINT8, PV2DI, PCV2DI, PCVOID)): New
+ function types.
+ * config/i386/i386-builtin.def: Add
+ __builtin_ia32_loadiwkey,
+ __builtin_ia32_aesdec128kl_u8,
+ __builtin_ia32_aesdec256kl_u8,
+ __builtin_ia32_aesenc128kl_u8,
+ __builtin_ia32_aesenc256kl_u8,
+ __builtin_ia32_aesdecwide128kl_u8,
+ __builtin_ia32_aesdecwide256kl_u8,
+ __builtin_ia32_aesencwide128kl_u8,
+ __builtin_ia32_aesencwide256kl_u8,
+ __builtin_ia32_encodekey128_u32,
+ __builtin_ia32_encodekey256_u32.
+ * config/i386/i386-c.c (ix86_target_macros_internal): Handle
+ kl and widekl.
+ * config/i386/i386-options.c (isa2_opts): Add -mkl and -mwidekl.
+ (ix86_option_override_internal): Handle KL and WIDEKL.
+ (ix86_valid_target_attribute_inner_p): Add attribute for kl and widekl.
+ * config/i386/i386-expand.c
+ (ix86_expand_builtin): Expand Keylocker Builtins.
+ * config/i386/i386.h (TARGET_KL): New.
+ (TARGET_KL_P): Likewise.
+ (TARGET_WIDEKL): Likewise.
+ (TARGET_WIDEKL_P): Likewise.
+ (PTA_KL): Likewise.
+ (PTA_WIDEKL): Likewise.
+ (PTA_TIGERLAKE): Add PTA_KL, PTA_WIDEKL.
+ (PTA_ALDERLAKE): Likewise.
+ * config/i386/i386.opt: Add new option mkl and mwidekl.
+ * config/i386/keylockerintrin.h: New header file for Keylocker.
+ * config/i386/immintrin.h: Include keylockerintrin.h.
+ * config/i386/predicates.md (encodekey128_operation): New
+ predicate.
+ (encodekey256_operation): Likewise.
+ (aeswidekl_operation): Likewise.
+ * config/i386/sse.md (UNSPECV_LOADIWKEY): New.
+ (UNSPECV_AESDEC128KLU8): Likewise.
+ (UNSPECV_AESENC128KLU8): Likewise.
+ (UNSPECV_AESDEC256KLU8): Likewise.
+ (UNSPECV_AESENC256KLU8): Likewise.
+ (UNSPECV_AESDECWIDE128KLU8): Likewise.
+ (UNSPECV_AESENCWIDE128KLU8): Likewise.
+ (UNSPECV_AESDECWIDE256KLU8): Likewise.
+ (UNSPECV_AESENCWIDE256KLU8): Likewise.
+ (UNSPECV_ENCODEKEY128U32): Likewise.
+ (UNSPECV_ENCODEKEY256U32): Likewise.
+ (encodekey128u32): New expander.
+ (encodekey256u32): Likewise.
+ (aes<aeswideklvariant>u8): Likewise.
+ (loadiwkey): New insn pattern.
+ (*encodekey128u32): Likewise.
+ (*encodekey256u32): Likewise.
+ (aes<aesklvariant>u8): Likewise.
+ (*aes<aeswideklvariant>u8): Likewise.
+
+2020-10-29 Richard Biener <rguenther@suse.de>
+
+ * tree-vect-slp.c (vect_build_slp_tree_2): Allow splatting
+ not vectorizable loads.
+ (vect_build_slp_instance): Amend dumping with address.
+ (vect_slp_convert_to_external): Likewise.
+
+2020-10-29 Andrew MacLeod <amacleod@redhat.com>
+
+ PR tree-optimization/97609
+ * gimple-range-cache.cc (non_null_ref::process_name): Call
+ infer_nonnull_range directly instead of infer_value_range.
+
2020-10-29 David Malcolm <dmalcolm@redhat.com>
* Makefile.in (ANALYZER_OBJS): Add analyzer/complexity.o.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 8559f6c8b74..d724ea40a76 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20201029
+20201030
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 89913b72a89..ca844ca775a 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,10 @@
+2020-10-29 Asher Gordon <AsDaGo@posteo.net>
+
+ * c-typeck.c (free_all_tagged_tu_seen_up_to): Replace free
+ with XDELETE.
+ (finish_init): Likewise.
+ (pop_init_level): Likewise.
+
2020-10-28 Joseph Myers <joseph@codesourcery.com>
* c-decl.c (store_parm_decls_newstyle): Use pedwarn_c11 not
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index aebf247711c..2ece8967676 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,95 @@
+2020-10-29 Marek Polacek <polacek@redhat.com>
+
+ DR 625
+ PR c++/97479
+ * parser.c (cp_parser_type_id_1): Reject using auto as
+ a template-argument in C++20.
+
+2020-10-29 Marek Polacek <polacek@redhat.com>
+
+ PR c++/93107
+ * pt.c (do_auto_deduction): Call resolve_nondeduced_context for
+ the elements of a { } list.
+
+2020-10-29 Marek Polacek <polacek@redhat.com>
+
+ * typeck.c (do_warn_enum_conversions): Don't warn for SPACESHIP_EXPR.
+ (cp_build_binary_op): Reject float <=> enum or enum <=> float. Use
+ CP_INTEGRAL_TYPE_P instead of INTEGRAL_OR_ENUMERATION_TYPE_P.
+
+2020-10-29 Patrick Palka <ppalka@redhat.com>
+
+ * constraint.cc (get_normalized_constraints): Remove 'args'
+ parameter. Pass NULL_TREE as the initial template arguments to
+ normalize_expression.
+ (get_normalized_constraints_from_info): Remove 'args' parameter
+ and adjust the call to get_normalized_constraints.
+ (get_normalized_constraints_from_decl): Remove 'args' local
+ variable and adjust call to get_normalized_constraints_from_info.
+ (normalize_concept_definition): Remove 'args' local variable
+ and adjust call to get_normalized_constraints.
+ (normalize_constraint_expression): Remove the two-parameter
+ overload. Remove 'args' parameter from the three-parameter
+ overload and update function comment accordingly. Remove
+ default argument from 'diag' parameter. Adjust call to
+ get_normalized_constraints.
+ (finish_nested_requirement): Adjust call to
+ normalize_constraint_expression.
+ (strictly_subsumes): Remove 'args' parameter. Adjust call to
+ get_normalized_constraints_from_info.
+ (weakly_subsumes): Likewise.
+ * cp-tree.h (strictly_subsumes): Remove 'args' parameter.
+ (weakly_subsumes): Likewise.
+ * pt.c (process_partial_specialization): Adjust call to
+ strictly_subsumes.
+ (is_compatible_template_arg): Adjust call to weakly_subsumes.
+
+2020-10-29 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/97412
+ * constraint.cc (normalize_concept_check): Don't call
+ tsubst_template_args when 'args' is NULL.
+
+2020-10-29 Jason Merrill <jason@redhat.com>
+
+ PR c++/97388
+ * constexpr.c (cxx_eval_outermost_constant_expr): Revert to
+ original expression if evaluation sets non_constant_p.
+
+2020-10-29 Jakub Jelinek <jakub@redhat.com>
+ Jason Merrill <jason@redhat.com>
+
+ PR c++/97388
+ * constexpr.c (cxx_bind_parameters_in_call): Set non_constant_args
+ if the parameter type has a non-trivial destructor.
+ (cxx_eval_call_expression): Only unshare arguments if we're
+ memoizing this evaluation.
+
+2020-10-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/95808
+ * cp-tree.h (enum cp_tree_index): Add CPTI_HEAP_VEC_UNINIT_IDENTIFIER
+ and CPTI_HEAP_VEC_IDENTIFIER.
+ (heap_vec_uninit_identifier, heap_vec_identifier): Define.
+ * decl.c (initialize_predefined_identifiers): Initialize those
+ identifiers.
+ * constexpr.c (cxx_eval_call_expression): Reject array allocations
+ deallocated with non-array deallocation or non-array allocations
+ deallocated with array deallocation.
+ (non_const_var_error): Handle heap_vec_uninit_identifier and
+ heap_vec_identifier too.
+ (cxx_eval_constant_expression): Handle also heap_vec_uninit_identifier
+ and in that case during initialization replace it with
+ heap_vec_identifier.
+ (find_heap_var_refs): Handle heap_vec_uninit_identifier and
+ heap_vec_identifier too.
+
+2020-10-29 Nathan Sidwell <nathan@acm.org>
+
+ * pt.c (push_template_decl): Do not give function-scope entities
+ other than implicit typedefs a template header. Do not readd
+ template info to a redeclared template.
+
2020-10-28 Marek Polacek <polacek@redhat.com>
* decl.c (grokdeclarator): Offer a fix-it hint for the "unnecessary
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7f784b996bb..99c38899239 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,95 @@
+2020-10-29 Marek Polacek <polacek@redhat.com>
+
+ DR 625
+ PR c++/97479
+ * g++.dg/cpp0x/auto3.C: Update dg-error.
+ * g++.dg/cpp0x/auto9.C: Likewise.
+ * g++.dg/cpp2a/concepts-pr84979-2.C: Likewise.
+ * g++.dg/cpp2a/concepts-pr84979-3.C: Likewise.
+ * g++.dg/cpp2a/concepts-pr84979.C: Likewise.
+ * g++.dg/DRs/dr625.C: New test.
+
+2020-10-29 Marek Polacek <polacek@redhat.com>
+
+ PR c++/93107
+ * g++.dg/cpp0x/initlist-deduce3.C: New test.
+
+2020-10-29 Marek Polacek <polacek@redhat.com>
+
+ * g++.dg/cpp2a/enum-conv1.C: Remove unused code.
+ * g++.dg/cpp2a/spaceship-err5.C: New test.
+
+2020-10-29 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/97412
+ * g++.dg/cpp2a/concepts-variadic2.C: New test.
+
+2020-10-29 Jason Merrill <jason@redhat.com>
+
+ PR c++/97388
+ * g++.dg/cpp2a/constexpr-dtor8.C: New test.
+
+2020-10-29 Jakub Jelinek <jakub@redhat.com>
+ Jason Merrill <jason@redhat.com>
+
+ PR c++/97388
+ * g++.dg/cpp2a/constexpr-dtor5.C: New test.
+ * g++.dg/cpp2a/constexpr-dtor6.C: New test.
+ * g++.dg/cpp2a/constexpr-dtor7.C: New test.
+
+2020-10-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/95808
+ * g++.dg/cpp2a/constexpr-new15.C: New test.
+
+2020-10-29 Joseph Myers <joseph@codesourcery.com>
+
+ * gcc.dg/c11-bool-1.c, gcc.dg/c2x-bool-1.c, gcc.dg/c99-bool-4.c:
+ New tests.
+
+2020-10-29 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc.dg/pr97596.c: Require int128 effective target.
+
+2020-10-29 Andrew MacLeod <amacleod@redhat.com>
+
+ * gcc.dg/pr97596.c: New.
+
+2020-10-29 Alexandre Oliva <oliva@adacore.com>
+
+ * gnat.dg/sin_cos.ads: New.
+ * gnat.dg/sin_cos.adb: New.
+ * gcc.dg/sin_cos.c: New.
+
+2020-10-29 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/keylocker-aesdec128kl.c: New test.
+ * gcc.target/i386/keylocker-aesdec256kl.c: Likewise.
+ * gcc.target/i386/keylocker-aesdecwide128kl.c: Likewise.
+ * gcc.target/i386/keylocker-aesdecwide256kl.c: Likewise.
+ * gcc.target/i386/keylocker-aesenc128kl.c: Likewise.
+ * gcc.target/i386/keylocker-aesencwide128kl.c: Likewise.
+ * gcc.target/i386/keylocker-aesencwide256kl.c: Likewise.
+ * gcc.target/i386/keylocker-encodekey128.c: Likewise.
+ * gcc.target/i386/keylocker-encodekey256.c: Likewise.
+ * gcc.target/i386/keylocker-loadiwkey.c: Likewise.
+ * g++.dg/other/i386-2.C: Add -mkl and -mwidekl.
+ * g++.dg/other/i386-3.C: Likewise.
+ * gcc.target/i386/sse-12.c: Likewise.
+ * gcc.target/i386/sse-13.c: Likewise.
+ * gcc.target/i386/sse-14.c: Likewise.
+ * gcc.target/i386/sse-22.c: Add kl and widekl.
+ * gcc.target/i386/sse-23.c: Likewise.
+ * gcc.target/i386/funcspec-56.inc: Add new target attribute test.
+
+2020-10-29 Richard Biener <rguenther@suse.de>
+
+ * gcc.dg/vect/bb-slp-pr65935.c: Adjust.
+
+2020-10-29 Andrew MacLeod <amacleod@redhat.com>
+
+ * g++.dg/pr97609.C: New.
+
2020-10-29 David Malcolm <dmalcolm@redhat.com>
PR analyzer/97608
diff --git a/gotools/ChangeLog b/gotools/ChangeLog
index b6d34315562..2f19a971128 100644
--- a/gotools/ChangeLog
+++ b/gotools/ChangeLog
@@ -1,3 +1,9 @@
+2020-10-29 Nikhil Benesch <nikhil.benesch@gmail.com>
+
+ * Makefile.am (check-runtime): Add runtime_linknames.go to
+ --extrafiles.
+ * Makefile.in: Regenerate.
+
2020-01-21 Ian Lance Taylor <iant@golang.org>
* Makefile.am (gofmt$(EXEEXT)): Link against $(LIBGOTOOL).
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index e65233022a2..e1450136133 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,14 @@
+2020-10-29 Olivier Hainque <hainque@adacore.com>
+
+ * config/gthr-vxworks-tls.c: Fix preprocessor logic
+ controlling the definition of VX_ENTER_TLS_DTOR and
+ VX_LEAVE_TLS_DTOR based on a version major check.
+
+2020-10-29 Olivier Hainque <hainque@adacore.com>
+
+ * config/gthr-vxworks-thread.c: Fix name of macro used
+ to condition the inclusion of an actual implementation.
+
2020-10-27 Martin Liska <mliska@suse.cz>
PR gcov-profile/97461
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 989b3a5cdd1..bcfa429a7f9 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,271 @@
+2020-10-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * config/abi/pre/gnu.ver (GLIBCXX_3.4.21): Tighten patterns
+ for old <sstream> symbols some more.
+
+2020-10-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/ranges_util.h (subrange::subrange(R&&)): Use
+ direct-initialization instead of list-initialization, so a
+ potential narrowing conversion from ranges::size(r) to the
+ stored size isn't ill-formed.
+
+2020-10-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/parse_numbers.h (_Select_int_base): Avoid
+ narrowing conversion in constant expression.
+ * include/experimental/buffer (buffer_copy): Avoid narrowing
+ conversion.
+ * include/experimental/internet (hash<>::operator()): Do not
+ use deprecated 'argument_type' member.
+ * include/std/variant (variant::emplace): Use cast instead
+ of implicit conversion from size_t to narrower unsigned type.
+
+2020-10-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/tr1/shared_ptr.h (__shared_count, __shared_ptr)
+ (shared_ptr): Add diagnostic pragmas around uses of auto_ptr.
+ * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
+ Adust dg-error line numbers.
+
+2020-10-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/18_support/96817.cc: Avoid -Wunused warnings.
+ * testsuite/20_util/any/assign/2.cc: Likewise.
+ * testsuite/20_util/any/cons/2.cc: Likewise.
+ * testsuite/20_util/align/1.cc: Avoid -Wsign-compare warning.
+ * testsuite/20_util/function/65760.cc: Avoid -Wunused warning.
+ * testsuite/20_util/function/1.cc: Avoid -Wcatch-value warning.
+ * testsuite/20_util/function/cons/move_target.cc: Avoid -Wunused
+ warning.
+ * testsuite/20_util/headers/memory/synopsis.cc: Add exception
+ specification.
+ * testsuite/20_util/monotonic_buffer_resource/allocate.cc: Avoid
+ -Wsign-compare warning.
+ * testsuite/20_util/tuple/cons/deduction.cc: Avoid -Wunused
+ warning.
+ * testsuite/20_util/specialized_algorithms/uninitialized_copy/808590-cxx11.cc:
+ Avoid -Wdeprecated-copy warning.
+ * testsuite/21_strings/basic_string/56166.cc: Avoid
+ -Wcatch-value warning.
+ * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
+ Avoid -Wcatch-value warnings.
+ * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stod.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stof.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoi.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stol.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stold.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoll.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoul.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoull.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string_view/operations/compare/char/nonnull.cc:
+ Prune additional diagnostics.
+ * testsuite/21_strings/basic_string_view/operations/find/char/nonnull.cc:
+ Likewise.
+ * testsuite/21_strings/basic_string_view/operations/rfind/char/nonnull.cc:
+ Likewise.
+ * testsuite/21_strings/headers/string/synopsis.cc: Add exception
+ specifications.
+ * testsuite/22_locale/locale/cons/12352.cc: Define sized
+ delete operators to avoid warnings.
+ * testsuite/23_containers/deque/modifiers/swap/1.cc: Add
+ exception specification.
+ * testsuite/23_containers/forward_list/cons/11.cc: Avoid
+ -Wdeprecated-copy warning.
+ * testsuite/23_containers/headers/bitset/synopsis.cc: Add
+ exception specification.
+ * testsuite/23_containers/headers/deque/synopsis.cc: Likewise.
+ * testsuite/23_containers/headers/forward_list/synopsis.cc:
+ Likewise.
+ * testsuite/23_containers/headers/list/synopsis.cc: Likewise.
+ * testsuite/23_containers/headers/map/synopsis.cc: Likewise.
+ * testsuite/23_containers/headers/queue/synopsis.cc: Likewise.
+ * testsuite/23_containers/headers/set/synopsis.cc: Likewise.
+ * testsuite/23_containers/headers/vector/synopsis.cc: Likewise.
+ * testsuite/23_containers/list/modifiers/swap/1.cc: Likewise.
+ * testsuite/23_containers/map/modifiers/swap/1.cc: Likewise.
+ * testsuite/23_containers/multimap/modifiers/swap/1.cc:
+ Likewise.
+ * testsuite/23_containers/multiset/modifiers/swap/1.cc:
+ Likewise.
+ * testsuite/23_containers/set/modifiers/swap/1.cc: Likewise.
+ * testsuite/23_containers/unordered_set/56267-2.cc: Avoid
+ -Wdeprecated-copy warning.
+ * testsuite/23_containers/vector/bool/23632.cc: Avoid
+ -Wempty-body warning.
+ * testsuite/23_containers/vector/modifiers/swap/1.cc: Add
+ exception specification.
+ * testsuite/25_algorithms/heap/moveable2.cc: Fix misplaced
+ parentheses around arguments.
+ * testsuite/25_algorithms/sample/1.cc: Use return value.
+ * testsuite/25_algorithms/search/searcher.cc: Avoid -Wunused
+ warnings.
+ * testsuite/27_io/basic_ostream/exceptions/char/9561.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc:
+ Likewise.
+ * testsuite/27_io/filesystem/operations/remove_all.cc: Avoid
+ -Wsign-compare warning.
+ * testsuite/experimental/any/assign/2.cc: Avoid -Wunused warnings.
+ * testsuite/experimental/any/cons/2.cc: Likewise.
+ * testsuite/experimental/filesystem/operations/remove_all.cc:
+ Avoid -Wign-compare warning.
+ * testsuite/experimental/memory/observer_ptr/cons/cons.cc:
+ Likewise.
+ * testsuite/experimental/memory_resource/null_memory_resource.cc:
+ Likewise.
+ * testsuite/experimental/source_location/1.cc: Avoid -Waddress
+ warning.
+ * testsuite/ext/pod_char_traits.cc: Avoid -Wunused warning.
+ * testsuite/ext/vstring/modifiers/clear/56166.cc: Avoid
+ -Wcatch-value.
+ * testsuite/std/concepts/concepts.lang/concept.swappable/swap.cc:
+ Avoid -Wunused warning.
+ * testsuite/std/concepts/concepts.lang/concept.swappable/swappable.cc:
+ Likewise.
+ * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
+ Prune additional warnings.
+ * testsuite/tr1/3_function_objects/function/1.cc: Avoid
+ -Wcatch-value warning.
+ * testsuite/util/replacement_memory_operators.h: Define sized
+ delete to avoid warnings.
+ * testsuite/util/testsuite_api.h (_NonDefaultConstructible): Add
+ user-declared assignment operator to stop -Wdeprecated-copy
+ warnings.
+ * testsuite/util/testsuite_containers.h: Avoid -Wunused warning.
+ * testsuite/util/testsuite_iterators.h: Avoid -Wsign-compare
+ warnings.
+ * testsuite/util/testsuite_new_operators.h: Define sized deleted.
+
+2020-10-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/25_algorithms/all_of/constexpr.cc: Check result of
+ the algorithm.
+ * testsuite/25_algorithms/any_of/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/binary_search/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/copy_backward/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/count/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/equal/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/equal_range/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/fill/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/find_end/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/find_if/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/is_partitioned/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/is_permutation/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/is_sorted_until/constexpr.cc:
+ Likewise.
+ * testsuite/25_algorithms/lexicographical_compare/constexpr.cc:
+ Likewise.
+ * testsuite/25_algorithms/lower_bound/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/merge/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/mismatch/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/none_of/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/partition_copy/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/remove_copy/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/remove_copy_if/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/remove_if/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/replace_if/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/reverse/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/reverse_copy/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/rotate_copy/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/search/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/set_difference/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/set_intersection/constexpr.cc:
+ Likewise.
+ * testsuite/25_algorithms/set_symmetric_difference/constexpr.cc:
+ Likewise.
+ * testsuite/25_algorithms/set_union/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/unique_copy/constexpr.cc: Likewise.
+ * testsuite/25_algorithms/upper_bound/constexpr.cc: Likewise.
+
+2020-10-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/uniform_int_dist.h (_Power_of_two): Add
+ constexpr.
+ (uniform_int_distribution::_S_nd): Add static_assert to ensure
+ the wider type is twice as wide as the result type.
+ (uniform_int_distribution::__generate_impl): Add static_assert
+ and declare variables as constexpr where appropriate.
+ (uniform_int_distribution:operator()): Likewise. Only consider
+ the uniform random bit generator's range of possible results
+ when deciding whether _S_nd can be used, not the __uctype type.
+
+2020-10-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/ext/rope (_Refcount_Base::_M_ref_count): Remove
+ volatile qualifier.
+ (_Refcount_Base::_M_decr()): Likewise.
+
+2020-10-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/std_function.h (_Function_handler<void, void>):
+ Define explicit specialization used for invalid target types.
+ (_Base_manager::_M_manager) [!__cpp_rtti]: Return null.
+ (function::target_type()): Check for null pointer.
+ (function::target()): Define unconditionall. Fix bug with
+ const_cast of function pointer type.
+ (function::target() const): Define unconditionally, but
+ only use RTTI if enabled.
+ * testsuite/20_util/function/target_no_rtti.cc: New test.
+
+2020-10-29 Patrick Palka <ppalka@redhat.com>
+
+ * testsuite/25_algorithms/lexicographical_compare/constrained.cc:
+ (test03): Fix initializing the vector vy with the array y of size 4.
+
+2020-10-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/hashtable_policy.h (_Local_iterator_base): Cast
+ value to avoid -Wsign-compare warnings.
+ * include/bits/regex.h (sub_match::_M_str): Avoid narrowing
+ conversion.
+ * include/bits/regex_compiler.tcc (_Compiler::_M_quantifier):
+ Initialize variable to avoid -Wmaybe-uninitialized warning.
+ * include/bits/shared_ptr_base.h (_Sp_counted_deleter::_Impl):
+ Reorder mem-initializer-list to avoid -Wreorder warning.
+ * include/bits/stl_tree.h (_Rb_tree_impl): Explicitly
+ initialize base class in copy constructor.
+ * include/debug/safe_iterator.h (_Safe_iterator): Likewise.
+ * include/ext/debug_allocator.h: Reorder mem-initializer-list
+ to avoid -Wreorder warning.
+ * include/ext/throw_allocator.h (throw_allocator_limit)
+ (throw_allocator_random): Add user-declared assignment operators
+ to avoid -Wdeprecated-copy warnings.
+
+2020-10-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/uniform_int_dist.h (uniform_int_distribution):
+ Rename _UniformRandomNumberGenerator template parameters to
+ _UniformRandomBitGenerator, as per P0346R1.
+
+2020-10-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/sstream (basic_stringbuf(__string_type&&, openmode)):
+ Call _M_init_syncbuf to set up get/put areas. Also qualify
+ std::move.
+
2020-10-28 Jonathan Wakely <jwakely@redhat.com>
* config/abi/pre/gnu.ver (GLIBCXX_3.4.29): Remove duplicate