+2020-08-28 Martin Sebor <msebor@redhat.com>
+
+ * attribs.c (init_attr_rdwr_indices): Use global access_mode.
+ * attribs.h (struct attr_access): Same.
+ * builtins.c (fold_builtin_strlen): Add argument.
+ (compute_objsize): Declare.
+ (get_range): Declare.
+ (check_read_access): New function.
+ (access_ref::access_ref): Define ctor.
+ (warn_string_no_nul): Add arguments. Handle -Wstrintop-overread.
+ (check_nul_terminated_array): Handle source strings of different
+ ranges of sizes.
+ (expand_builtin_strlen): Remove warning code, call check_read_access
+ instead. Declare locals closer to their initialization.
+ (expand_builtin_strnlen): Same.
+ (maybe_warn_for_bound): New function.
+ (warn_for_access): Remove argument. Handle -Wstrintop-overread.
+ (inform_access): Change argument type.
+ (get_size_range): New function.
+ (check_access): Remove unused arguments. Add new arguments. Handle
+ -Wstrintop-overread. Move warning code to helpers and call them.
+ Call check_nul_terminated_array.
+ (check_memop_access): Remove unnecessary and provide additional
+ arguments in calls.
+ (expand_builtin_memchr): Call check_read_access.
+ (expand_builtin_strcat): Remove unnecessary and provide additional
+ arguments in calls.
+ (expand_builtin_strcpy): Same.
+ (expand_builtin_strcpy_args): Same. Avoid testing no-warning bit.
+ (expand_builtin_stpcpy_1): Remove unnecessary and provide additional
+ arguments in calls.
+ (expand_builtin_stpncpy): Same.
+ (check_strncat_sizes): Same.
+ (expand_builtin_strncat): Remove unnecessary and provide additional
+ arguments in calls. Adjust comments.
+ (expand_builtin_strncpy): Remove unnecessary and provide additional
+ arguments in calls.
+ (expand_builtin_memcmp): Remove warning code. Call check_access.
+ (expand_builtin_strcmp): Call check_access instead of
+ check_nul_terminated_array.
+ (expand_builtin_strncmp): Handle -Wstrintop-overread.
+ (expand_builtin_fork_or_exec): Call check_access instead of
+ check_nul_terminated_array.
+ (expand_builtin): Same.
+ (fold_builtin_1): Pass additional argument.
+ (fold_builtin_n): Same.
+ (fold_builtin_strpbrk): Remove calls to check_nul_terminated_array.
+ (expand_builtin_memory_chk): Add comments.
+ (maybe_emit_chk_warning): Remove unnecessary and provide additional
+ arguments in calls.
+ (maybe_emit_sprintf_chk_warning): Same. Adjust comments.
+ * builtins.h (warn_string_no_nul): Add arguments.
+ (struct access_ref): Add member and ctor argument.
+ (struct access_data): Add members and ctor.
+ (check_access): Adjust signature.
+ * calls.c (maybe_warn_nonstring_arg): Return an indication of
+ whether a warning was issued. Issue -Wstrintop-overread instead
+ of -Wstringop-overflow.
+ (append_attrname): Adjust to naming changes.
+ (maybe_warn_rdwr_sizes): Same. Remove unnecessary and provide
+ additional arguments in calls.
+ * calls.h (maybe_warn_nonstring_arg): Return bool.
+ * doc/invoke.texi (-Wstringop-overread): Document new option.
+ * gimple-fold.c (gimple_fold_builtin_strcpy): Provide an additional
+ argument in call.
+ (gimple_fold_builtin_stpcpy): Same.
+ * tree-ssa-uninit.c (maybe_warn_pass_by_reference): Adjust to naming
+ changes.
+ * tree.h (enum access_mode): New type.
+
+2020-08-28 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ * config/rs6000/rs6000.c (rs6000_call_aix): Remove test for r12.
+ (rs6000_sibcall_aix): Likewise.
+
+2020-08-28 Andrew Stubbs <ams@codesourcery.com>
+
+ * config/gcn/gcn-tree.c (gcn_goacc_get_worker_red_decl): Add "true"
+ parameter to vec_safe_grow_cleared.
+
+2020-08-28 Martin Sebor <msebor@redhat.com>
+
+ * ggc-common.c (gt_pch_save): Add argument to a call.
+
+2020-08-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
+
+ PR target/96357
+ * config/aarch64/aarch64-sve.md
+ (cond_sub<mode>_relaxed_const): Updated and renamed from
+ cond_sub<mode>_any_const pattern.
+ (cond_sub<mode>_strict_const): New pattern.
+
+2020-08-28 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
+
+ * doc/rtl.texi: Fix typo.
+
+2020-08-28 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/96744
+ * config/i386/i386-expand.c (split_double_mode): Also handle
+ E_P2HImode and E_P2QImode.
+ * config/i386/sse.md (MASK_DWI): New define_mode_iterator.
+ (mov<mode>): New expander for P2HI,P2QI.
+ (*mov<mode>_internal): New define_insn_and_split to split
+ movement of P2QI/P2HI to 2 movqi/movhi patterns after reload.
+
+2020-08-28 liuhongt <hongtao.liu@intel.com>
+
+ * common/config/i386/i386-common.c (ix86_handle_option): Set
+ AVX512DQ when AVX512VP2INTERSECT exists.
+
2020-08-27 Jakub Jelinek <jakub@redhat.com>
PR target/65146
+2020-08-28 Martin Sebor <msebor@redhat.com>
+
+ * c.opt (Wstringop-overread): New option.
+
2020-08-11 Jakub Jelinek <jakub@redhat.com>
PR c/96545
+2020-08-28 Martin Sebor <msebor@redhat.com>
+
+ PR c/96596
+ * c-decl.c (match_builtin_function_types): Avoid dealing with erroneous
+ argument type.
+
2020-08-27 Martin Liska <mliska@suse.cz>
* gimple-parser.c (c_parser_gimple_compound_statement): Set exact argument of a vector
+2020-08-28 Tobias Burnus <tobias@codesourcery.com>
+
+ PR fortran/94672
+ * trans-array.c (gfc_trans_g77_array): Check against the parm decl and
+ set the nonparm decl used for the is-present check to NULL if absent.
+
+2020-08-28 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/96624
+ * simplify.c (gfc_simplify_reshape): Detect zero shape and
+ clear index if found.
+
2020-08-27 Mark Eggleston <markeggleston@gcc.gnu.org>
PR fortran/95882
+2020-08-28 Martin Sebor <msebor@redhat.com>
+
+ * jit-recording.c (recording::switch_::make_debug_string): Add argument
+ to a call.
+
2020-08-22 Andrea Corallo <andrea.corallo@arm.com>
* libgccjit.c:
+2020-08-28 Martin Sebor <msebor@redhat.com>
+
+ * c-c++-common/Warray-bounds-7.c: Adjust expected warnings.
+ * c-c++-common/Wrestrict.c: Remove xfail.
+ * c-c++-common/attr-nonstring-3.c: Adjust text of expected warnings.
+ * c-c++-common/attr-nonstring-6.c: Suppress -Wstringop-overread
+ instead of -Wstringop-overflow.
+ * c-c++-common/attr-nonstring-8.c: Adjust text of expected warnings.
+ * g++.dg/torture/Wsizeof-pointer-memaccess1.C: Also suppress
+ -Wstringop-overread.
+ * g++.dg/torture/Wsizeof-pointer-memaccess2.C: Same.
+ * gcc.dg/Warray-bounds-39.c: Adjust expected warnings.
+ * gcc.dg/Warray-bounds-40.c: Also suppress -Wstringop-overread.
+ * gcc.dg/Warray-bounds-58.c: Remove xfail. Also expect
+ -Wstringop-overread. Adjust text of expected warnings.
+ * gcc.dg/Wsizeof-pointer-memaccess1.c: Also suppress
+ -Wstringop-overread.
+ * gcc.dg/Wstringop-overflow-22.c: Adjust text of expected warnings.
+ * gcc.dg/Wstringop-overflow-33.c: Expect -Wstringop-overread.
+ * gcc.dg/Wstringop-overflow-9.c: Expect -Wstringop-overread.
+ * gcc.dg/attr-nonstring-2.c: Adjust text of expected warnings.
+ * gcc.dg/attr-nonstring-3.c: Same.
+ * gcc.dg/attr-nonstring-4.c: Same.
+ * gcc.dg/attr-nonstring.c: Expect -Wstringop-overread.
+ * gcc.dg/builtin-stringop-chk-5.c: Adjust comment.
+ * gcc.dg/builtin-stringop-chk-8.c: Enable -Wstringop-overread instead
+ of -Wstringop-overflow.
+ * gcc.dg/pr78902.c: Also expect -Wstringop-overread.
+ * gcc.dg/pr79214.c: Adjust text of expected warnings.
+ * gcc.dg/strcmpopt_10.c: Suppress valid -Wno-stringop-overread.
+ * gcc.dg/strlenopt-57.c: Also expect -Wstringop-overread.
+ * gcc.dg/torture/Wsizeof-pointer-memaccess1.c: Also suppress valid
+ -Wno-stringop-overread.
+ * gcc.dg/tree-ssa/builtins-folding-gimple-ub.c: Same.
+ * gcc.dg/uninit-33.c: Same.
+ * gcc.dg/warn-strnlen-no-nul-2.c: Adjust text of expected warning.
+ * gcc.dg/warn-strnlen-no-nul.c: Same.
+ * gcc.target/i386/strcmpopt_6.c: Suppress -Wstringop-overread.
+ * gcc.dg/Wstringop-overread-2.c: New test.
+ * gcc.dg/Wstringop-overread.c: New test.
+
+2020-08-28 Martin Sebor <msebor@redhat.com>
+
+ PR c/96596
+ * gcc.dg/Wbuiltin-declaration-mismatch-16.c: New test.
+
+2020-08-28 Tobias Burnus <tobias@codesourcery.com>
+
+ PR fortran/94672
+ * gfortran.dg/optional_assumed_charlen_2.f90: New test.
+
+2020-08-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
+
+ PR target/96357
+ * gcc.target/aarch64/sve/pr96357.c: New test.
+
+2020-08-28 Alex Coplan <alex.coplan@arm.com>
+
+ * gcc.target/aarch64/mem-shift-canonical.c: Skip on ILP32.
+
+2020-08-28 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/96624
+ * gfortran.dg/reshape_8.f90 : New test.
+
+2020-08-28 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * gcc.dg/pr96579.c: Compile only with target dfp.
+
+2020-08-28 Uros Bizjak <ubizjak@gmail.com>
+
+ * gcc.target/i386/double_mask_reg-1.c: New test.
+
2020-08-27 John David Anglin <danglin@gcc.gnu.org>
* gcc.target/hppa/shadd-2.c: Adjust times to 4.
+2020-08-28 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/chrono (common_type): Fix partial specializations
+ for a single duration type to use the common_type of the rep.
+ (duration::operator+, duration::operator-): Fix return types
+ to also use the common_type of the rep.
+ * testsuite/20_util/duration/requirements/reduced_period.cc:
+ Check duration using a rep that has common_type specialized.
+
+2020-08-28 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/92978
+ * include/std/numeric (__abs_integral): Replace with ...
+ (__detail::__absu): New function template that returns an
+ unsigned type, guaranteeing it can represent the most
+ negative signed value.
+ (__detail::__gcd, __detail::__lcm): Require arguments to
+ be unsigned and therefore already non-negative.
+ (gcd, lcm): Convert arguments to absolute value as unsigned
+ type before calling __detail::__gcd or __detail::__lcm.
+ * include/experimental/numeric (gcd, lcm): Likewise.
+ * testsuite/26_numerics/gcd/gcd_neg.cc: Adjust expected
+ errors.
+ * testsuite/26_numerics/lcm/lcm_neg.cc: Likewise.
+ * testsuite/26_numerics/gcd/92978.cc: New test.
+ * testsuite/26_numerics/lcm/92978.cc: New test.
+ * testsuite/experimental/numeric/92978.cc: New test.
+
2020-08-27 Jonathan Wakely <jwakely@redhat.com>
* include/std/chrono (__duration_common_type): Ensure the