+2020-11-09 Pat Bernardi <bernardi@adacore.com>
+
+ * MAINTAINERS (Write After Approval): Add myself.
+
+2020-11-09 Jonathan Wakely <jwakely@redhat.com>
+
+ * config-ml.in (multi-do, multi-clean): Add @ to silence recipes.
+ Remove FIXME comments.
+
2020-11-06 Martin Uecker <muecker@gwdg.de>
* MAINTAINERS: Update my email address.
+2020-11-09 Claudiu Zissulescu <claziss@synopsys.com>
+
+ * config/arc/arc.c (arc_split_move): Recognize vadd2 instructions.
+ * config/arc/arc.md (movdi_insn): Update pattern to use vadd2
+ instructions.
+ (movdf_insn): Likewise.
+ (maddhisi4): New pattern.
+ (umaddhisi4): Likewise.
+ * config/arc/simdext.md (mov<mode>_int): Update pattern to use
+ vadd2.
+ (sdot_prodv4hi): New pattern.
+ (udot_prodv4hi): Likewise.
+ (arc_vec_<V_US>mac_hi_v4hi): Update/renamed to
+ arc_vec_<V_US>mac_v2hiv2si.
+ (arc_vec_<V_US>mac_v2hiv2si_zero): New pattern.
+ * config/arc/constraints.md (Ral): Accumulator register
+ constraint.
+
+2020-11-09 Aldy Hernandez <aldyh@redhat.com>
+
+ * function-tests.c (test_ranges): Call range_op_tests.
+ * range-op.cc (build_range3): Move to value-range.cc.
+ (range3_tests): Same.
+ (int_range_max_tests): Same.
+ (multi_precision_range_tests): Same.
+ (range_tests): Same.
+ (operator_tests): Split up...
+ (range_op_tests): Split up...
+ (range_op_cast_tests): ...here.
+ (range_op_lshift_tests): ...here.
+ (range_op_rshift_tests): ...here.
+ (range_op_bitwise_and_tests): ...here.
+ * selftest.h (range_op_tests): New.
+ * value-range.cc (build_range3): New.
+ (range_tests_irange3): New.
+ (range_tests_int_range_max): New.
+ (range_tests_legacy): New.
+ (range_tests_misc): New.
+ (range_tests): New.
+
+2020-11-09 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/97761
+ * tree-vect-slp.c (vect_bb_slp_mark_live_stmts): Remove
+ premature end of DFS walk.
+
+2020-11-09 Aldy Hernandez <aldyh@redhat.com>
+
+ * value-range.cc (irange::swap_out_of_order_endpoints): Rewrite
+ into static function.
+ (irange::set): Cleanup redundant manipulations.
+ * value-range.h (irange::normalize_min_max): Modify object
+ in-place instead of modifying arguments.
+
+2020-11-09 Andrea Corallo <andrea.corallo@arm.com>
+
+ * config/aarch64/aarch64-builtins.c
+ (aarch64_expand_fcmla_builtin): Do not alter force_reg returned
+ register.
+
+2020-11-09 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/97753
+ * tree-vect-loop.c (vectorizable_induction): Fill vec_steps
+ when CSEing inside the group.
+
+2020-11-09 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/97746
+ * tree-vect-patterns.c (vect_determine_precisions): First walk PHIs.
+
+2020-11-09 Richard Biener <rguenther@suse.de>
+
+ * tree-ssa-pre.c (get_representative_for): CSE VN_INFO calls.
+ (create_expression_by_pieces): Likewise.
+ (insert_into_preds_of_block): Likewsie.
+ (do_pre_regular_insertion): Likewsie.
+ * tree-ssa-sccvn.c (eliminate_dom_walker::eliminate_insert):
+ Likewise.
+ (eliminate_dom_walker::eliminate_stmt): Likewise.
+
+2020-11-09 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/97765
+ * tree-ssa-pre.c (bb_bitmap_sets::phi_translate_table): Add.
+ (PHI_TRANS_TABLE): New macro.
+ (phi_translate_table): Remove.
+ (expr_pred_trans_d::pred): Remove.
+ (expr_pred_trans_d::hash): Simplify.
+ (expr_pred_trans_d::equal): Likewise.
+ (phi_trans_add): Adjust.
+ (phi_translate): Likewise. Remove hash-table expansion
+ detection and optimization.
+ (phi_translate_set): Allocate PHI_TRANS_TABLE here.
+ (init_pre): Adjsust.
+ (fini_pre): Free PHI_TRANS_TABLE.
+
+2020-11-09 Lili Cui <lili.cui@intel.com>
+
+ PR target/97685
+ * config/i386/i386.h:
+ (PTA_BROADWELL): Delete PTA_PRFCHW.
+ (PTA_SILVERMONT): Add PTA_PRFCHW.
+ (PTA_KNL): Add PTA_PREFETCHWT1.
+ (PTA_TREMONT): Add PTA_MOVDIRI, PTA_MOVDIR64B, PTA_CLDEMOTE and PTA_WAITPKG.
+ * doc/invoke.texi: Delete PREFETCHW for broadwell, skylake, knl, knm,
+ skylake-avx512, cannonlake, icelake-client, icelake-server, cascadelake,
+ cooperlake, tigerlake and sapphirerapids.
+ Add PREFETCHW for silvermont, goldmont, goldmont-plus and tremont.
+ Add XSAVEC and XSAVES for goldmont, goldmont-plus and tremont.
+ Add MOVDIRI, MOVDIR64B, CLDEMOTE and WAITPKG for tremont.
+ Add KEYLOCKER and HREST for alderlake.
+ Add AMX-BF16, AMX-TILE, AMX-INT8 and UINTR for sapphirerapids.
+ Add KEYLOCKER for tigerlake.
+
+2020-11-09 Kewen Lin <linkw@linux.ibm.com>
+
+ PR rtl-optimization/97705
+ * ira.c (ira): Refactor some regstat free/init/compute invocation
+ into lambda function regstat_recompute_for_max_regno, and call it
+ when max_regno increases as remove_scratches succeeds.
+
2020-11-08 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/rs6000.c (rs6000_mangle_decl_assembler_name): Change
+2020-11-09 Marek Polacek <polacek@redhat.com>
+
+ DR 1914
+ * c-common.c (attribute_fallthrough_p): Tweak the warning
+ message.
+
+2020-11-09 Patrick Palka <ppalka@redhat.com>
+
+ * c-pragma.c (handle_pragma_diagnostic): Split the
+ unknown-option -Wpragmas diagnostic into a warning and a
+ subsequent note containing a spelling suggestion. Avoid
+ computing the suggestion if -Wpragmas warnings are being
+ suppressed.
+
+2020-11-09 Patrick Palka <ppalka@redhat.com>
+
+ PR testsuite/97117
+ * c-indentation.c (get_visual_column): Remove location_t
+ parameter. Move the column-tracking diagnostic code from here
+ to ...
+ (should_warn_for_misleading_indentation): ... here, before the
+ early exit for when the loci are not all distinct. Don't pass a
+ location_t argument to get_visual_column.
+ (assert_get_visual_column_succeeds): Don't pass a location_t
+ argument to get_visual_column.
+ (assert_get_visual_column_fails): Likewise.
+
2020-11-08 Iain Sandoe <iain@sandoe.co.uk>
* c-common.h (OBJC_IS_PATTR_KEYWORD): Add class to the list
+2020-11-09 Marek Polacek <polacek@redhat.com>
+
+ DR 1914
+ * parser.c (cp_parser_check_std_attribute): Return bool. Add a
+ location_t parameter. Return true if the attribute wasn't duplicated.
+ Give a warning instead of an error. Check more attributes.
+ (cp_parser_std_attribute_list): Don't add duplicated attributes to
+ the list. Pass location to cp_parser_check_std_attribute.
+
+2020-11-09 Patrick Palka <ppalka@redhat.com>
+
+ * constraint.cc (norm_info::norm_info): Initialize orig_decl.
+ (norm_info::orig_decl): New data member.
+ (normalize_atom): When caching an atom for the first time,
+ compute a list of template parameters used in the targets of the
+ parameter mapping and store it in the TREE_TYPE of the mapping.
+ (get_normalized_constraints_from_decl): Set current_function_decl
+ appropriately when normalizing. As an optimization, don't
+ set up a push_nested_class_guard when decl has no constraints.
+ (sat_hasher::hash): Use this list to hash only the template
+ arguments that are relevant to the atom.
+ (satisfy_atom): Use this list to compare only the template
+ arguments that are relevant to the atom.
+ * pt.c (keep_template_parm): Do a sanity check on the parameter's
+ index when flag_checking.
+
+2020-11-09 Patrick Palka <ppalka@redhat.com>
+
+ * cp-tree.h (ATOMIC_CONSTR_MAP_INSTANTIATED_P): Define this flag
+ for ATOMIC_CONSTRs.
+ * constraint.cc (sat_hasher::hash): Use hash_atomic_constraint
+ if the flag is set, otherwise keep using a pointer hash.
+ (sat_hasher::equal): Return false if the flag's setting differs
+ on two atoms. Call atomic_constraints_identical_p if the flag
+ is set, otherwise keep using a pointer equality test.
+ (satisfy_atom): After instantiating the parameter mapping, form
+ another ATOMIC_CONSTR using the instantiated mapping and query
+ the cache again. Cache the satisfaction value of both atoms.
+ (diagnose_atomic_constraint): Simplify now that the supplied
+ atom has an instantiated mapping.
+
+2020-11-09 Patrick Palka <ppalka@redhat.com>
+
+ * constraint.cc (atom_cache): Define this deletable hash_table.
+ (normalize_atom): Use it to cache ATOMIC_CONSTRs when not
+ generating diagnostics.
+ (sat_hasher::hash): Use htab_hash_pointer instead of
+ hash_atomic_constraint.
+ (sat_hasher::equal): Test for pointer equality instead of
+ atomic_constraints_identical_p.
+ * cp-tree.h (struct atom_hasher): Moved and renamed from ...
+ * logic.cc (struct constraint_hash): ... here.
+ (clause::m_set): Adjust accordingly.
+
+2020-11-09 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/93907
+ * constraint.cc (tsubst_parameter_mapping): Also canonicalize
+ the type arguments of a TYPE_ARGUMENT_PACk.
+
+2020-11-09 Jason Merrill <jason@redhat.com>
+
+ * pt.c (tsubst): Replace *_ARGUMENT_PACK code with
+ a call to tsubst_argument_pack.
+
+2020-11-09 Jason Merrill <jason@redhat.com>
+
+ * class.c (handle_using_decl): Add an iloc_sentinel.
+
+2020-11-09 Marek Polacek <polacek@redhat.com>
+
+ PR c++/97762
+ * parser.c (warn_about_ambiguous_parse): Handle the case when
+ there is no type in the decl-specifiers.
+
+2020-11-09 Nathan Sidwell <nathan@acm.org>
+
+ * cp-tree.h (LOOKUP_FOUND_P): Add ENUMERAL_TYPE.
+ * name-lookup.c (class name_lookup): Add comments.
+ (name_lookup::adl_namespace_only): Replace with ...
+ (name_lookup::adl_class_fns): ... this and ...
+ (name_lookup::adl_namespace_fns): ... this.
+ (name_lookup::adl_namespace): Deal with inline nests here.
+ (name_lookup::adl_class): Complete the type here.
+ (name_lookup::adl_type): Call broken-out enum ..
+ (name_lookup::adl_enum): New. No need to call the namespace adl
+ if it is class-scope.
+ (name_lookup::search_adl): Iterate over collected scopes here.
+
+2020-11-09 Nathan Sidwell <nathan@acm.org>
+
+ * name-lookup.c (lookup_qualified_name): Expose an overload of a
+ singleton with known type.
+ (lookup_name_1): Just check the overload's type to expose it.
+ * parser.c (cp_parser_lookup_name): Do not do that check here.
+
2020-11-08 Iain Sandoe <iain@sandoe.co.uk>
* parser.c (cp_parser_objc_at_property_declaration): Handle
+2020-11-09 Tobias Burnus <tobias@codesourcery.com>
+
+ PR fortran/90111
+ * parse.c (case_decl): Move ST_OACC_ROUTINE and ST_OACC_DECLARE to ...
+ (case_omp_decl): ... here.
+ (verify_st_order): Update comment.
+
2020-11-06 Thomas Schwinge <thomas@codesourcery.com>
* openmp.c (oacc_is_parallel, resolve_oacc_params_in_parallel):
+2020-11-09 Marek Polacek <polacek@redhat.com>
+
+ DR 1914
+ * c-c++-common/attr-fallthrough-2.c: Adjust dg-warning.
+ * g++.dg/cpp0x/fallthrough2.C: Likewise.
+ * g++.dg/cpp0x/gen-attrs-60.C: Turn dg-error into dg-warning.
+ * g++.dg/cpp1y/attr-deprecated-2.C: Likewise.
+ * g++.dg/cpp2a/attr-likely2.C: Adjust dg-warning.
+ * g++.dg/cpp2a/nodiscard-once.C: Turn dg-error into dg-warning.
+ * g++.dg/cpp0x/gen-attrs-72.C: New test.
+
+2020-11-09 Patrick Palka <ppalka@redhat.com>
+
+ * g++.dg/cpp2a/concepts-decltype2.C: New file.
+
+2020-11-09 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/93907
+ * g++.dg/cpp2a/concepts-using3.C: New test, based off of
+ concepts-using2.C.
+
+2020-11-09 Jason Merrill <jason@redhat.com>
+
+ * g++.dg/lookup/using26.C: Adjust location.
+ * g++.old-deja/g++.other/using1.C: Adjust location.
+
+2020-11-09 Marek Polacek <polacek@redhat.com>
+
+ PR c++/97762
+ * g++.dg/warn/Wvexing-parse8.C: New test.
+
+2020-11-09 Patrick Palka <ppalka@redhat.com>
+
+ * gcc.dg/pragma-diag-6.c: Adjust expected diagnostics
+ accordingly.
+
+2020-11-09 Tobias Burnus <tobias@codesourcery.com>
+
+ PR fortran/90111
+ * gfortran.dg/goacc/specification-part.f90: New test.
+
+2020-11-09 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/97761
+ * gfortran.dg/vect/pr97761.f90: New testcase.
+
+2020-11-09 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/97753
+ * gcc.dg/vect/pr97753.c: New testcase.
+
+2020-11-09 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/97746
+ * gcc.dg/vect/bb-slp-pr97746.c: New testcase.
+
+2020-11-09 Andrea Corallo <andrea.corallo@arm.com>
+
+ * gcc.target/arm/simd/vld1_lane_bf16_1.c: Require target to
+ support and add -mfloat-abi=hard flag.
+ * gcc.target/arm/simd/vld1_lane_bf16_indices_1.c: Likewise.
+ * gcc.target/arm/simd/vld1q_lane_bf16_indices_1.c: Likewise.
+ * gcc.target/arm/simd/vst1_lane_bf16_1.c: Likewise.
+ * gcc.target/arm/simd/vst1_lane_bf16_indices_1.c: Likewise.
+ * gcc.target/arm/simd/vstq1_lane_bf16_indices_1.c: Likewise.
+
2020-11-08 Iain Sandoe <iain@sandoe.co.uk>
* obj-c++.dg/property/at-property-4.mm: Test handling class
+2020-11-09 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * pex-win32.c (pex_win32_exec_child): Initialize orig_err.
+
2020-10-06 Martin Liska <mliska@suse.cz>
PR lto/97290
+2020-11-09 François Dumont <fdumont@gcc.gnu.org>
+
+ * include/debug/array: Remove.
+ * include/Makefile.am: Remove <debug/array>.
+ * include/Makefile.in: Regenerate.
+ * include/experimental/functional: Adapt.
+ * include/std/array: Move to _GLIBCXX_INLINE_VERSION namespace.
+ * include/std/functional: Adapt.
+ * include/std/span: Adapt.
+ * testsuite/23_containers/array/debug/back1_neg.cc:
+ Remove dg-require-debug-mode. Add -D_GLIBCXX_ASSERTIONS option.
+ * testsuite/23_containers/array/debug/back2_neg.cc: Likewise.
+ * testsuite/23_containers/array/debug/front1_neg.cc: Likewise.
+ * testsuite/23_containers/array/debug/front2_neg.cc: Likewise.
+ * testsuite/23_containers/array/debug/square_brackets_operator1_neg.cc:
+ Likewise.
+ * testsuite/23_containers/array/debug/square_brackets_operator2_neg.cc:
+ Likewise.
+ * testsuite/23_containers/array/element_access/60497.cc
+ * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc:
+ Remove.
+ * testsuite/23_containers/array/tuple_interface/get_neg.cc
+ * testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc
+ * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc
+
+2020-11-09 François Dumont <fdumont@gcc.gnu.org>
+
+ * include/debug/assertions.h (__glibcxx_requires_non_empty_range):
+ Remove __builtin_expect.
+ (__glibcxx_requires_subscript): Likewise.
+ (__glibcxx_requires_nonempty): Likewise.
+ * include/debug/formatter.h (__check_singular): Add C++11 constexpr
+ qualification.
+ * include/debug/helper_functions.h (__check_singular): Likewise. Skip
+ check if constant evaluated.
+ (__valid_range): Do not skip check if constant evaluated.
+ * include/debug/macros.h (_GLIBCXX_DEBUG_VERIFY_COND_AT): Add
+ __builtin_expect.
+ (_GLIBCXX_DEBUG_VERIFY_AT_F): Use __glibcxx_assert_1.
+ * testsuite/21_strings/basic_string_view/element_access/char/back_constexpr_neg.cc:
+ New test.
+ * testsuite/21_strings/basic_string_view/element_access/char/constexpr.cc: New test.
+ * testsuite/21_strings/basic_string_view/element_access/char/constexpr_neg.cc: New test.
+ * testsuite/21_strings/basic_string_view/element_access/char/front_back_constexpr.cc:
+ New test.
+ * testsuite/21_strings/basic_string_view/element_access/char/front_constexpr_neg.cc:
+ New test.
+ * testsuite/21_strings/basic_string_view/element_access/wchar_t/back_constexpr_neg.cc:
+ New test.
+ * testsuite/21_strings/basic_string_view/element_access/wchar_t/constexpr.cc: New test.
+ * testsuite/21_strings/basic_string_view/element_access/wchar_t/constexpr_neg.cc: New test.
+ * testsuite/21_strings/basic_string_view/element_access/wchar_t/front_constexpr_neg.cc:
+ New test.
+ * testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_neg.cc: New test.
+ * testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_pred_neg.cc: New test.
+ * testsuite/25_algorithms/lower_bound/debug/constexpr_valid_range_neg.cc: New test.
+ * testsuite/25_algorithms/lower_bound/debug/partitioned_neg.cc: New test.
+ * testsuite/25_algorithms/lower_bound/debug/partitioned_pred_neg.cc: New test.
+ * testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_neg.cc: New test.
+ * testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_pred_neg.cc: New test.
+ * testsuite/25_algorithms/upper_bound/debug/constexpr_valid_range_neg.cc: New test.
+ * testsuite/25_algorithms/upper_bound/debug/partitioned_neg.cc: New test.
+ * testsuite/25_algorithms/upper_bound/debug/partitioned_pred_neg.cc: New test.
+
+2020-11-09 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/uniform_int_dist.h (__detail::_Power_of_2):
+ Document that true result for zero is intentional.
+
+2020-11-09 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/bit (__popcount): Remove redundant check for zero.
+
+2020-11-09 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/97729
+ * libsupc++/exception_ptr.h (exception_ptr::exception_ptr())
+ (exception_ptr::exception_ptr(const exception_ptr&))
+ (exception_ptr::~exception_ptr()): Remove 'always_inline'
+ attributes. Use 'inline' unconditionally.
+
+2020-11-09 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/97758
+ * include/bits/std_function.h [!__cpp_rtti]: Include <typeinfo>.
+
2020-11-07 Liu Hao <lh_mouse@126.com>
* libsupc++/cxxabi.h: (__cxa_atexit): mark with _GLIBCXX_CDTOR_CALLABI