+2020-10-08 Alexandre Oliva <oliva@adacore.com>
+
+ * builtins.c (mathfn_built_in_type): New.
+ * builtins.h (mathfn_built_in_type): Declare.
+ * tree-ssa-math-opts.c (execute_cse_sincos_1): Use it to
+ obtain the type expected by the intrinsic.
+
+2020-10-08 Will Schmidt <will_schmidt@vnet.ibm.com>
+
+ * config/rs6000/rs6000-builtin.def (BU_P10_MISC_2): Rename
+ to BU_P10_POWERPC64_MISC_2.
+ CFUGED, CNTLZDM, CNTTZDM, PDEPD, PEXTD): Call renamed macro.
+
+2020-10-08 Jan Hubicka <jh@suse.cz>
+
+ * tree-nrv.c (dest_safe_for_nrv_p): Disable tbaa in
+ call_may_clobber_ref_p and ref_maybe_used_by_stmt_p.
+ * tree-tailcall.c (find_tail_calls): Likewise.
+ * tree-ssa-alias.c (call_may_clobber_ref_p): Add tbaa_p parameter.
+ * tree-ssa-alias.h (call_may_clobber_ref_p): Update prototype.
+ * tree-ssa-sccvn.c (vn_reference_lookup_3): Pass data->tbaa_p
+ to call_may_clobber_ref_p_1.
+
+2020-10-08 Mark Wielaard <mark@klomp.org>
+
+ * dwarf2out.c (dwarf2out_finish): Emit .file 0 entry when
+ generating DWARF5 .debug_line table through gas.
+
+2020-10-08 John Henning <john.henning@oracle.com>
+
+ PR other/97309
+ * doc/invoke.texi: Improve documentation of
+ -fallow-store-data-races.
+
+2020-10-08 Christophe Lyon <christophe.lyon@linaro.org>
+
+ PR target/96914
+ * config/arm/arm_mve.h (__arm_vcvtnq_u32_f32): New.
+
+2020-10-08 Martin Liska <mliska@suse.cz>
+ Richard Biener <rguenther@suse.de>
+
+ * tree-vectorizer.h (_bb_vec_info::const_iterator): Remove.
+ (_bb_vec_info::const_reverse_iterator): Likewise.
+ (_bb_vec_info::region_stmts): Likewise.
+ (_bb_vec_info::reverse_region_stmts): Likewise.
+ (_bb_vec_info::_bb_vec_info): Adjust.
+ (_bb_vec_info::bb): Remove.
+ (_bb_vec_info::region_begin): Remove.
+ (_bb_vec_info::region_end): Remove.
+ (_bb_vec_info::bbs): New vector of BBs.
+ (vect_slp_function): Declare.
+ * tree-vect-patterns.c (vect_determine_precisions): Use
+ regular stmt iteration.
+ (vect_pattern_recog): Likewise.
+ * tree-vect-slp.c: Include cfganal.h, tree-eh.h and tree-cfg.h.
+ (vect_build_slp_tree_1): Properly refuse to vectorize
+ volatile and throwing stmts.
+ (vect_build_slp_tree_2): Pass group-size down to
+ get_vectype_for_scalar_type.
+ (_bb_vec_info::_bb_vec_info): Use regular stmt iteration,
+ adjust for changed region specification.
+ (_bb_vec_info::~_bb_vec_info): Likewise.
+ (vect_slp_check_for_constructors): Likewise.
+ (vect_slp_region): Likewise.
+ (vect_slp_bbs): New worker operating on a vector of BBs.
+ (vect_slp_bb): Wrap it.
+ (vect_slp_function): New function splitting the function
+ into multi-BB regions.
+ (vect_create_constant_vectors): Handle the case of inserting
+ after a throwing def.
+ (vect_schedule_slp_instance): Adjust.
+ * tree-vectorizer.c (vec_info::remove_stmt): Simplify again.
+ (vec_info::insert_seq_on_entry): Adjust.
+ (pass_slp_vectorize::execute): Also init PHIs. Call
+ vect_slp_function.
+
+2020-10-08 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/97330
+ * tree-ssa-sink.c (statement_sink_location): Avoid skipping
+ PHIs when they dominate the insert location.
+
+2020-10-08 Jan Hubicka <jh@suse.cz>
+
+ * ipa-modref.c (get_access): Fix handling of offsets.
+ * tree-ssa-alias.c (modref_may_conflict): Watch for overflows.
+
+2020-10-08 Martin Liska <mliska@suse.cz>
+
+ * dbgcnt.def (DEBUG_COUNTER): Add ipa_mod_ref debug counter.
+ * tree-ssa-alias.c (modref_may_conflict): Handle the counter.
+
+2020-10-08 Richard Biener <rguenther@suse.de>
+
+ * tree-vectorizer.c (try_vectorize_loop_1): Do not dump
+ "basic block vectorized".
+ (pass_slp_vectorize::execute): Likewise.
+ * tree-vect-slp.c (vect_analyze_slp_instance): Avoid
+ re-analyzing split single stmts.
+
+2020-10-08 Christophe Lyon <christophe.lyon@linaro.org>
+
+ PR target/96914
+ * config/arm/arm_mve.h (vqrdmlashq_n_u8, vqrdmlashq_n_u16)
+ (vqrdmlashq_n_u32, vqrdmlahq_n_u8, vqrdmlahq_n_u16)
+ (vqrdmlahq_n_u32, vqdmlahq_n_u8, vqdmlahq_n_u16, vqdmlahq_n_u32)
+ (vmlaldavaxq_p_u16, vmlaldavaxq_p_u32): Remove.
+ * config/arm/arm_mve_builtins.def (vqrdmlashq_n_u, vqrdmlahq_n_u)
+ (vqdmlahq_n_u, vmlaldavaxq_p_u): Remove.
+ * config/arm/unspecs.md (VQDMLAHQ_N_U, VQRDMLAHQ_N_U)
+ (VQRDMLASHQ_N_U)
+ (VMLALDAVAXQ_P_U): Remove unspecs.
+ * config/arm/iterators.md (VQDMLAHQ_N_U, VQRDMLAHQ_N_U)
+ (VQRDMLASHQ_N_U, VMLALDAVAXQ_P_U): Remove attributes.
+ (VQDMLAHQ_N, VQRDMLAHQ_N, VQRDMLASHQ_N, VMLALDAVAXQ_P): Remove
+ unsigned variants from iterators.
+ * config/arm/mve.md (mve_vqdmlahq_n_<supf><mode>)
+ (mve_vqrdmlahq_n_<supf><mode>)
+ (mve_vqrdmlashq_n_<supf><mode>, mve_vmlaldavaxq_p_<supf><mode>):
+ Update comment.
+
+2020-10-08 Christophe Lyon <christophe.lyon@linaro.org>
+
+ PR target/96914
+ * config/arm/arm_mve.h (vqdmlashq, vqdmlashq_m): Define.
+ * config/arm/arm_mve_builtins.def (vqdmlashq_n_s)
+ (vqdmlashq_m_n_s,): New.
+ * config/arm/unspecs.md (VQDMLASHQ_N_S, VQDMLASHQ_M_N_S): New
+ unspecs.
+ * config/arm/iterators.md (VQDMLASHQ_N_S, VQDMLASHQ_M_N_S): New
+ attributes.
+ (VQDMLASHQ_N): New iterator.
+ * config/arm/mve.md (mve_vqdmlashq_n_, mve_vqdmlashq_m_n_s): New
+ patterns.
+
+2020-10-08 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/97322
+ * config/arm/arm.c (arm_expand_divmod_libfunc): Pass mode instead of
+ GET_MODE (op0) or GET_MODE (op1) to emit_library_call_value.
+
+2020-10-08 Aldy Hernandez <aldyh@redhat.com>
+
+ PR tree-optimization/97325
+ * gimple-range.cc (gimple_ranger::range_of_builtin_call): Handle
+ negative numbers in __builtin_ffs and __builtin_popcount.
+
+2020-10-08 Aldy Hernandez <aldyh@redhat.com>
+
+ PR tree-optimization/97315
+ * range-op.cc (value_range_with_overflow): Change any
+ non-overflow calculation in which both bounds are
+ overflow/underflow to be undefined.
+
+2020-10-08 Aldy Hernandez <aldyh@redhat.com>
+
+ PR tree-optimization/97315
+ * gimple-ssa-evrp.c (hybrid_folder::choose_value): Removes the
+ trap and instead annotates the listing.
+
+2020-10-08 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/97294
+ * tree-cfg.c (move_block_to_fn): Call notice_special_calls on
+ call stmts being moved into dest_cfun.
+ * omp-low.c (lower_rec_input_clauses): Set cfun->calls_alloca when
+ adding __builtin_alloca_with_align call without gimplification.
+
2020-10-07 Aldy Hernandez <aldyh@redhat.com>
* common.opt (-fevrp-mode): Rename and move...
+2020-10-08 Jason Merrill <jason@redhat.com>
+
+ PR c++/96805
+ PR c++/96199
+ * pt.c (tsubst_aggr_type): Don't build a TYPENAME_TYPE when
+ entering_scope.
+ (tsubst_template_decl): Use tsubst_aggr_type.
+
+2020-10-08 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/97052
+ * constraint.cc (build_type_constraint): Temporarily increment
+ processing_template_decl before calling build_concept_check.
+ * pt.c (make_constrained_placeholder_type): Likewise.
+
+2020-10-08 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/96229
+ * parser.c (cp_parser_class_specifier_1): Move call to
+ associate_classtype_constraints from here to ...
+ (cp_parser_class_head): ... here.
+ * pt.c (is_compatible_template_arg): Correct documentation to
+ say "argument is _no_ more constrained than the parameter".
+
2020-10-07 Marek Polacek <polacek@redhat.com>
PR c++/97010
+2020-10-08 Jason Merrill <jason@redhat.com>
+
+ PR c++/96805
+ * g++.dg/cpp0x/alias-decl-pr96805.C: New test.
+
+2020-10-08 Christophe Lyon <christophe.lyon@linaro.org>
+
+ PR target/96914
+ * gcc.target/arm/mve/intrinsics/vcvtnq_u32_f32.c: New test.
+
+2020-10-08 Martin Liska <mliska@suse.cz>
+ Richard Biener <rguenther@suse.de>
+
+ * gcc.dg/vect/bb-slp-22.c: Adjust.
+ * gfortran.dg/pr68627.f: Likewise.
+
+2020-10-08 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/97330
+ * gcc.dg/torture/pr97330-1.c: New testcase.
+ * gcc.dg/torture/pr97330-2.c: Likewise.
+
+2020-10-08 Richard Biener <rguenther@suse.de>
+
+ * g++.dg/vect/slp-pr50819.cc: Adjust.
+ * gcc.dg/vect/bb-slp-1.c: Adjust.
+ * gcc.dg/vect/bb-slp-10.c: Adjust.
+ * gcc.dg/vect/bb-slp-11.c: Adjust.
+ * gcc.dg/vect/bb-slp-13.c: Adjust.
+ * gcc.dg/vect/bb-slp-14.c: Adjust.
+ * gcc.dg/vect/bb-slp-15.c: Adjust.
+ * gcc.dg/vect/bb-slp-16.c: Adjust.
+ * gcc.dg/vect/bb-slp-17.c: Adjust.
+ * gcc.dg/vect/bb-slp-18.c: Adjust.
+ * gcc.dg/vect/bb-slp-19.c: Adjust.
+ * gcc.dg/vect/bb-slp-2.c: Adjust.
+ * gcc.dg/vect/bb-slp-20.c: Adjust.
+ * gcc.dg/vect/bb-slp-21.c: Adjust.
+ * gcc.dg/vect/bb-slp-22.c: Adjust.
+ * gcc.dg/vect/bb-slp-23.c: Adjust.
+ * gcc.dg/vect/bb-slp-24.c: Adjust.
+ * gcc.dg/vect/bb-slp-25.c: Adjust.
+ * gcc.dg/vect/bb-slp-26.c: Adjust.
+ * gcc.dg/vect/bb-slp-27.c: Adjust.
+ * gcc.dg/vect/bb-slp-28.c: Adjust.
+ * gcc.dg/vect/bb-slp-29.c: Adjust.
+ * gcc.dg/vect/bb-slp-3.c: Adjust.
+ * gcc.dg/vect/bb-slp-30.c: Adjust.
+ * gcc.dg/vect/bb-slp-31.c: Adjust.
+ * gcc.dg/vect/bb-slp-34.c: Adjust.
+ * gcc.dg/vect/bb-slp-35.c: Adjust.
+ * gcc.dg/vect/bb-slp-36.c: Adjust.
+ * gcc.dg/vect/bb-slp-38.c: Adjust.
+ * gcc.dg/vect/bb-slp-4.c: Adjust.
+ * gcc.dg/vect/bb-slp-45.c: Adjust.
+ * gcc.dg/vect/bb-slp-46.c: Adjust.
+ * gcc.dg/vect/bb-slp-48.c: Adjust.
+ * gcc.dg/vect/bb-slp-5.c: Adjust.
+ * gcc.dg/vect/bb-slp-6.c: Adjust.
+ * gcc.dg/vect/bb-slp-7.c: Adjust.
+ * gcc.dg/vect/bb-slp-8.c: Adjust.
+ * gcc.dg/vect/bb-slp-8a.c: Adjust.
+ * gcc.dg/vect/bb-slp-8b.c: Adjust.
+ * gcc.dg/vect/bb-slp-9.c: Adjust.
+ * gcc.dg/vect/bb-slp-div-2.c: Adjust.
+ * gcc.dg/vect/bb-slp-over-widen-1.c: Adjust.
+ * gcc.dg/vect/bb-slp-over-widen-2.c: Adjust.
+ * gcc.dg/vect/bb-slp-pattern-2.c: Adjust.
+ * gcc.dg/vect/bb-slp-pow-1.c: Adjust.
+ * gcc.dg/vect/bb-slp-pr58135.c: Adjust.
+ * gcc.dg/vect/bb-slp-pr65935.c: Adjust.
+ * gcc.dg/vect/bb-slp-pr78205.c: Adjust.
+ * gcc.dg/vect/bb-slp-pr81635-1.c: Adjust.
+ * gcc.dg/vect/bb-slp-pr81635-3.c: Adjust.
+ * gcc.dg/vect/bb-slp-pr95839-2.c: Adjust.
+ * gcc.dg/vect/bb-slp-pr95839.c: Adjust.
+ * gcc.dg/vect/bb-slp-pr95866.c: Adjust.
+ * gcc.dg/vect/bb-slp-subgroups-1.c: Adjust.
+ * gcc.dg/vect/bb-slp-subgroups-2.c: Adjust.
+ * gcc.dg/vect/bb-slp-subgroups-3.c: Adjust.
+ * gcc.dg/vect/fast-math-bb-slp-call-1.c: Adjust.
+ * gcc.dg/vect/no-tree-reassoc-bb-slp-12.c: Adjust.
+ * gcc.dg/vect/no-tree-sra-bb-slp-pr50730.c: Adjust.
+ * gfortran.dg/vect/pr62283-2.f: Adjust.
+ * gcc.target/i386/pr68961.c: Adjust.
+ * gcc.target/i386/pr84101.c: Adjust.
+ * gcc.dg/vect/bb-slp-pr81635-2.c: Adjust.
+ * gcc.dg/vect/bb-slp-pr81635-4.c: Adjust.
+ * gcc.dg/vect/fast-math-bb-slp-call-2.c: Adjust.
+ * gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c: Adjust.
+ * gcc.dg/vect/costmodel/x86_64/costmodel-vect-slp.c: Adjust.
+ * gcc.dg/vect/bb-slp-div-1.c: Adjust.
+ * gcc.dg/vect/bb-slp-pr90006.c: Adjust.
+ * g++.dg/vect/slp-pr50413.cc: Adjust.
+
+2020-10-08 Christophe Lyon <christophe.lyon@linaro.org>
+
+ PR target/96914
+ * gcc.target/arm/mve/intrinsics/vmlaldavaxq_p_u16.c: Remove.
+ * gcc.target/arm/mve/intrinsics/vmlaldavaxq_p_u32.c: Remove.
+ * gcc.target/arm/mve/intrinsics/vqdmlahq_n_u16.c: Remove.
+ * gcc.target/arm/mve/intrinsics/vqdmlahq_n_u32.c: Remove.
+ * gcc.target/arm/mve/intrinsics/vqdmlahq_n_u8.c: Remove.
+ * gcc.target/arm/mve/intrinsics/vqrdmlahq_n_u16.c: Remove.
+ * gcc.target/arm/mve/intrinsics/vqrdmlahq_n_u32.c: Remove.
+ * gcc.target/arm/mve/intrinsics/vqrdmlahq_n_u8.c: Remove.
+ * gcc.target/arm/mve/intrinsics/vqrdmlashq_n_u16.c: Remove.
+ * gcc.target/arm/mve/intrinsics/vqrdmlashq_n_u32.c: Remove.
+ * gcc.target/arm/mve/intrinsics/vqrdmlashq_n_u8.c: Remove.
+
+2020-10-08 Christophe Lyon <christophe.lyon@linaro.org>
+
+ PR target/96914
+ * gcc.target/arm/mve/intrinsics/vqdmlashq_m_n_s16.c: New test.
+ * gcc.target/arm/mve/intrinsics/vqdmlashq_m_n_s32.c: New test.
+ * gcc.target/arm/mve/intrinsics/vqdmlashq_m_n_s8.c: New test.
+ * gcc.target/arm/mve/intrinsics/vqdmlashq_n_s16.c: New test.
+ * gcc.target/arm/mve/intrinsics/vqdmlashq_n_s32.c: New test.
+ * gcc.target/arm/mve/intrinsics/vqdmlashq_n_s8.c: New test.
+
+2020-10-08 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/97322
+ * gcc.dg/pr97322.c: New test.
+
+2020-10-08 Aldy Hernandez <aldyh@redhat.com>
+
+ * gcc.dg/pr97315-2.c: New test.
+
+2020-10-08 Aldy Hernandez <aldyh@redhat.com>
+
+ * gcc.dg/pr97315-1.c: New test.
+
+2020-10-08 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/97294
+ * gcc.dg/asan/pr97294.c: New test.
+
+2020-10-08 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/97052
+ * g++.dg/cpp2a/concepts-defarg2.C: New test.
+
+2020-10-08 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/96229
+ * g++.dg/cpp2a/concepts-class2.C: New test.
+
2020-10-07 Marek Polacek <polacek@redhat.com>
PR c++/97010
+2020-10-08 Nathan Sidwell <nathan@acm.org>
+
+ * internal.h (enum include_type): Rename IT_MAIN_INJECT to
+ IT_PRE_MAIN.
+ * init.c (cpp_read_main_file): If there is no line marker, adjust
+ the initial line marker.
+ (read_original_filename): Return bool, peek the buffer directly
+ before trying to tokenize.
+ (read_original_directory): Likewise. Directly prod the string
+ literal.
+ * files.c (_cpp_stack_file): Adjust for IT_PRE_MAIN change.
+
2020-09-26 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/97163
+2020-10-08 Tom de Vries <tdevries@suse.de>
+
+ PR libgomp/81802
+ * plugin/plugin-nvptx.c (GOMP_OFFLOAD_run): Report launch
+ dimensions.
+
2020-10-06 Tom de Vries <tdevries@suse.de>
* testsuite/libgomp.oacc-fortran/declare-5.f90: Add xfail for PR92790.
+2020-10-08 Patrick Palka <ppalka@redhat.com>
+
+ PR libstdc++/95788
+ * include/bits/ranges_uninitialized.h:
+ (__construct_at_fn::operator()): Rewrite in terms of
+ std::construct_at. Declare it conditionally noexcept. Qualify
+ calls to declval in its requires-clause.
+ * testsuite/20_util/specialized_algorithms/construct_at/95788.cc:
+ New test.
+
+2020-10-08 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/82584
+ * include/bits/random.tcc
+ (discrete_distribution::param_type::_M_initialize)
+ (piecewise_constant_distribution::param_type::_M_initialize)
+ (piecewise_linear_distribution::param_type::_M_initialize):
+ Add assertions for positive sums..
+ * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error
+ line.
+
+2020-10-08 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/ios_base.h (ios_base::failure): Add constructors
+ takeing error_code argument. Add code() member function.
+ * testsuite/27_io/ios_base/failure/cxx11.cc: Allow test to
+ run for the old ABI but do not check for derivation from
+ std::system_error.
+ * testsuite/27_io/ios_base/failure/error_code.cc: New test.
+
+2020-10-08 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/random.h (__detail::_Mod): Revert last change.
+ (__detail::__mod): Do not use _Mod for a==0 case.
+ * testsuite/26_numerics/random/linear_congruential_engine/operators/call.cc:
+ Check other cases with a==0. Also check runtime results.
+ * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error
+ line.
+
2020-10-07 Jonathan Wakely <jwakely@redhat.com>
* include/bits/random.h (__detail::_Mod): Avoid divide by zero.