+2020-10-09 Vladimir Makarov <vmakarov@redhat.com>
+
+ PR rtl-optimization/97313
+ * lra-constraints.c (match_reload): Don't keep strict_low_part in
+ reloads for non-registers.
+
+2020-10-09 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/97148
+ * config.gcc (extra_headers): Add x86gprintrin.h.
+ * config/i386/adxintrin.h: Check _X86GPRINTRIN_H_INCLUDED for
+ <x86gprintrin.h>.
+ * config/i386/bmi2intrin.h: Likewise.
+ * config/i386/bmiintrin.h: Likewise.
+ * config/i386/cetintrin.h: Likewise.
+ * config/i386/cldemoteintrin.h: Likewise.
+ * config/i386/clflushoptintrin.h: Likewise.
+ * config/i386/clwbintrin.h: Likewise.
+ * config/i386/enqcmdintrin.h: Likewise.
+ * config/i386/fxsrintrin.h: Likewise.
+ * config/i386/ia32intrin.h: Likewise.
+ * config/i386/lwpintrin.h: Likewise.
+ * config/i386/lzcntintrin.h: Likewise.
+ * config/i386/movdirintrin.h: Likewise.
+ * config/i386/pconfigintrin.h: Likewise.
+ * config/i386/pkuintrin.h: Likewise.
+ * config/i386/rdseedintrin.h: Likewise.
+ * config/i386/rtmintrin.h: Likewise.
+ * config/i386/serializeintrin.h: Likewise.
+ * config/i386/tbmintrin.h: Likewise.
+ * config/i386/tsxldtrkintrin.h: Likewise.
+ * config/i386/waitpkgintrin.h: Likewise.
+ * config/i386/wbnoinvdintrin.h: Likewise.
+ * config/i386/xsavecintrin.h: Likewise.
+ * config/i386/xsaveintrin.h: Likewise.
+ * config/i386/xsaveoptintrin.h: Likewise.
+ * config/i386/xsavesintrin.h: Likewise.
+ * config/i386/xtestintrin.h: Likewise.
+ * config/i386/immintrin.h: Include <x86gprintrin.h> instead of
+ <fxsrintrin.h>, <xsaveintrin.h>, <xsaveoptintrin.h>,
+ <xsavesintrin.h>, <xsavecintrin.h>, <lzcntintrin.h>,
+ <bmiintrin.h>, <bmi2intrin.h>, <xtestintrin.h>, <cetintrin.h>,
+ <movdirintrin.h>, <sgxintrin.h, <pconfigintrin.h>,
+ <waitpkgintrin.h>, <cldemoteintrin.h>, <enqcmdintrin.h>,
+ <serializeintrin.h>, <tsxldtrkintrin.h>, <adxintrin.h>,
+ <clwbintrin.h>, <clflushoptintrin.h>, <wbnoinvdintrin.h> and
+ <pkuintrin.h>.
+ (_wbinvd): Moved to config/i386/x86gprintrin.h.
+ (_rdrand16_step): Likewise.
+ (_rdrand32_step): Likewise.
+ (_rdpid_u32): Likewise.
+ (_readfsbase_u32): Likewise.
+ (_readfsbase_u64): Likewise.
+ (_readgsbase_u32): Likewise.
+ (_readgsbase_u64): Likewise.
+ (_writefsbase_u32): Likewise.
+ (_writefsbase_u64): Likewise.
+ (_writegsbase_u32): Likewise.
+ (_writegsbase_u64): Likewise.
+ (_rdrand64_step): Likewise.
+ (_ptwrite64): Likewise.
+ (_ptwrite32): Likewise.
+ * config/i386/x86gprintrin.h: New file.
+ * config/i386/x86intrin.h: Include <x86gprintrin.h>. Don't
+ include <ia32intrin.h>, <lwpintrin.h>, <tbmintrin.h>,
+ <popcntintrin.h>, <mwaitxintrin.h> and <clzerointrin.h>.
+
+2020-10-09 Tom de Vries <tdevries@suse.de>
+
+ PR target/97348
+ * config/nvptx/nvptx.h (ASM_SPEC): Also pass -m to nvptx-as if
+ default is used.
+ * config/nvptx/nvptx.opt (misa): Init with PTX_ISA_SM35.
+
+2020-10-09 Richard Biener <rguenther@suse.de>
+
+ * doc/sourcebuild.texi (vect_masked_load): Document.
+
+2020-10-09 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/97334
+ * tree-vect-slp.c (vect_build_slp_tree_1): Do not fatally
+ fail lanes other than zero when BB vectorizing.
+
+2020-10-09 Jan Hubicka <jh@suse.cz>
+
+ PR ipa/97292
+ PR ipa/97335
+ * ipa-modref-tree.h (copy_from): Drop summary in a
+ clone.
+
+2020-10-09 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/97347
+ * tree-vect-slp.c (vect_create_constant_vectors): Use
+ edge insertion when inserting on the fallthru edge,
+ appropriately insert at the start of BBs when inserting
+ after PHIs.
+
+2020-10-09 Andrew MacLeod <amacleod@redhat.com>
+
+ PR tree-optimization/97317
+ * range-op.cc (operator_cast::op1_range): Handle casts where the precision
+ of the RHS is only 1 greater than the precision of the LHS.
+
+2020-10-09 Richard Biener <rguenther@suse.de>
+
+ * cgraphunit.c (expand_all_functions): Free tp_first_run_order.
+ * ipa-modref.c (pass_ipa_modref::execute): Free order.
+ * tree-ssa-loop-niter.c (estimate_numbers_of_iterations): Free
+ loop body.
+ * tree-vect-data-refs.c (vect_find_stmt_data_reference): Free
+ data references upon failure.
+ * tree-vect-loop.c (update_epilogue_loop_vinfo): Free BBs
+ array of the original loop.
+ * tree-vect-slp.c (vect_slp_bbs): Use an auto_vec for
+ dataref_groups to release its memory.
+
+2020-10-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/94801
+ PR target/97312
+ * vr-values.c (vr_values::extract_range_basic) <CASE_CFN_CLZ,
+ CASE_CFN_CTZ>: When stmt is not an internal-fn call or
+ C?Z_DEFINED_VALUE_AT_ZERO is not 2, assume argument is not zero
+ and thus use [0, prec-1] range unless it can be further improved.
+ For CTZ, don't update maxi from upper bound if it was previously prec.
+ * gimple-range.cc (gimple_ranger::range_of_builtin_call) <CASE_CFN_CLZ,
+ CASE_CFN_CTZ>: Likewise.
+
+2020-10-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/97325
+ * match.pd (FFS(nonzero) -> CTZ(nonzero) + 1): Cast argument to
+ corresponding unsigned type.
+
+2020-10-09 Richard Biener <rguenther@suse.de>
+
+ * tree-vect-slp.c (vect_create_constant_vectors): Properly insert
+ after PHIs.
+
2020-10-08 Alexandre Oliva <oliva@adacore.com>
* builtins.c (mathfn_built_in_type): New.
+2020-10-09 Vladimir Makarov <vmakarov@redhat.com>
+
+ PR rtl-optimization/97313
+ * gcc.target/i386/pr97313.c: New.
+
+2020-10-09 H.J. Lu <hjl.tools@gmail.com>
+
+ * gcc.target/i386/avx-1.c (__builtin_ia32_lwpval32): New to
+ support <lwpintrin.h> included in <x86gprintrin.h>.
+ (__builtin_ia32_lwpval64): Likewise.
+ (__builtin_ia32_lwpins32): Likewise.
+ (__builtin_ia32_lwpins64): Likewise.
+ (__builtin_ia32_bextri_u32): New to support <tbmintrin.h>
+ included in <x86gprintrin.h>.
+ (__builtin_ia32_bextri_u64): Likewise.
+ * gcc.target/i386/x86gprintrin-1.c: New test.
+ * gcc.target/i386/x86gprintrin-2.c: Likewise.
+ * gcc.target/i386/x86gprintrin-3.c: Likewise.
+ * gcc.target/i386/x86gprintrin-4.c: Likewise.
+ * gcc.target/i386/x86gprintrin-4a.c: Likewise.
+ * gcc.target/i386/x86gprintrin-5.c: Likewise.
+ * gcc.target/i386/x86gprintrin-5a.c: Likewise.
+ * gcc.target/i386/x86gprintrin-5b.c: Likewise.
+ * gcc.target/i386/x86gprintrin-6.c: Likewise.
+
+2020-10-09 Richard Biener <rguenther@suse.de>
+
+ * lib/target-supports.exp (check_effective_target_vect_masked_load):
+ New effective target.
+ * gcc.dg/vect/pr65947-3.c: Update.
+
+2020-10-09 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/97334
+ * gcc.dg/vect/bb-slp-pr65935.c: Amend.
+
+2020-10-09 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/97347
+ * g++.dg/vect/pr97347.cc: New testcase.
+
+2020-10-09 Andrew MacLeod <amacleod@redhat.com>
+
+ * gcc.dg/pr97317.c: New test.
+
+2020-10-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/94801
+ PR target/97312
+ * gcc.dg/tree-ssa/pr94801.c: New test.
+
+2020-10-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/97325
+ * gcc.c-torture/execute/pr97325.c: New test.
+
+2020-10-09 Aldy Hernandez <aldyh@redhat.com>
+
+ PR testsuite/97337
+ * gcc.dg/pr97315-1.c: Moved to...
+ * g++.dg/opt/pr97315-1.C: ...here.
+
+2020-10-09 Richard Biener <rguenther@suse.de>
+
+ * gcc.dg/vect/bb-slp-phis-1.c: New testcase.
+
2020-10-08 Jason Merrill <jason@redhat.com>
PR c++/96805
+2020-10-09 Ville Voutilainen <ville.voutilainen@gmail.com>
+
+ PR libstdc++/95904
+ * include/std/variant (__deduce_visit_result): Add a nested ::type.
+ (__gen_vtable_impl</*base case*/>::_S_apply):
+ Check the visitor return type.
+ (__same_types): New.
+ (__check_visitor_result): Likewise.
+ (__check_visitor_results): Likewise.
+ (visit(_Visitor&&, _Variants&&...)): Use __check_visitor_results
+ in case we're visiting just one variant.
+ * testsuite/20_util/variant/visit_neg.cc: Adjust.
+
+2020-10-09 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/97311
+ * include/bits/random.tcc (seed_seq::generate): Use uint32_t for
+ calculations. Also split the first loop into three loops to
+ avoid branching on k on every iteration, resolving PR 94823.
+ * testsuite/26_numerics/random/seed_seq/97311.cc: New test.
+ * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-erro
+ line number.
+
+2020-10-09 Daniel Lemire <lemire@gmail.com>
+
+ * include/bits/uniform_int_dist.h (uniform_int_distribution::_S_nd):
+ New member function implementing Lemire's "nearly divisionless"
+ algorithm.
+ (uniform_int_distribution::operator()): Use _S_nd when the range
+ of the URBG is the full width of the result type.
+
+2020-10-09 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/Makefile.am: Set and export variable separately.
+ * testsuite/Makefile.in: Regenerate.
+
+2020-10-09 Jonathan Wakely <jwakely@redhat.com>
+
+ * scripts/check_performance: Use gnu++11 instead of gnu++0x.
+ * testsuite/Makefile.am (check-performance): Export CXXFLAGS to
+ child process.
+ * testsuite/Makefile.in: Regenerate.
+
+2020-10-09 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/performance/26_numerics/random_dist.cc: New test.
+
+2020-10-09 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/util/testsuite_performance.h (report_header): Remove
+ unused variable.
+
2020-10-08 Patrick Palka <ppalka@redhat.com>
PR libstdc++/95788