From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 5818F386F42F; Sat, 20 Mar 2021 00:17:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5818F386F42F MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r10-9491] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/releases/gcc-10 X-Git-Oldrev: 752df7abc9e4ad344d7107d55ff62dd8e765c4d5 X-Git-Newrev: 7e8aa1d5dedb70918cb1b7ac56c85edceeddb870 Message-Id: <20210320001751.5818F386F42F@sourceware.org> Date: Sat, 20 Mar 2021 00:17:51 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2021 00:17:51 -0000 https://gcc.gnu.org/g:7e8aa1d5dedb70918cb1b7ac56c85edceeddb870 commit r10-9491-g7e8aa1d5dedb70918cb1b7ac56c85edceeddb870 Author: GCC Administrator Date: Sat Mar 20 00:17:21 2021 +0000 Daily bump. Diff: --- contrib/ChangeLog | 7 ++ gcc/ChangeLog | 152 ++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 10 ++ gcc/c/ChangeLog | 9 ++ gcc/cp/ChangeLog | 102 +++++++++++++++++++ gcc/fortran/ChangeLog | 11 ++ gcc/testsuite/ChangeLog | 259 ++++++++++++++++++++++++++++++++++++++++++++++++ libstdc++-v3/ChangeLog | 20 ++++ 9 files changed, 571 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 07d24763ef5..b382f97d13e 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,10 @@ +2021-03-19 Matthias Klose + + Backported from master: + 2021-03-19 Matthias Klose + + * texi2pod.pl: Substitute @tie{} with a space for the man pages. + 2021-01-28 Eric Botcazou PR lto/85574 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2d57326e33b..bce0e88855b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,155 @@ +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-16 Jakub Jelinek + + PR target/99563 + * config/i386/i386.h (struct machine_function): Add + has_explicit_vzeroupper bitfield. + * config/i386/i386-expand.c (ix86_expand_builtin): Set + cfun->machine->has_explicit_vzeroupper when expanding + IX86_BUILTIN_VZEROUPPER. + * config/i386/i386-features.c (rest_of_handle_insert_vzeroupper): + Do the mode switching only when TARGET_VZEROUPPER, expensive + optimizations turned on and not optimizing for size. + (pass_insert_vzeroupper::gate): Enable even when + cfun->machine->has_explicit_vzeroupper is set. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-16 Jakub Jelinek + + PR target/99542 + * config/aarch64/aarch64.c + (aarch64_simd_clone_compute_vecsize_and_simdlen): If not a function + definition, walk TYPE_ARG_TYPES list if non-NULL for argument types + instead of DECL_ARGUMENTS. Ignore types for uniform arguments. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-11 Jakub Jelinek + + PR ipa/99517 + * ipa-icf-gimple.c (func_checker::compare_gimple_call): For internal + function calls with lhs fail if the lhs don't have compatible types. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-04 Jakub Jelinek + + PR middle-end/93235 + * expmed.c (store_bit_field_using_insv): Return false of xop0 is a + SUBREG and a SUBREG to op_mode can't be created. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-03 Jakub Jelinek + + PR target/99085 + * cfgrtl.c (fixup_partitions): When changing some bbs from hot to cold + partitions, if in non-layout mode after reorder_blocks also move + affected blocks to ensure a single partition transition. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-24 Jakub Jelinek + + PR tree-optimization/99225 + * fold-const.c (fold_binary_loc) : In (x & (1 << y)) != 0 + to ((x >> y) & 1) != 0 simplifications use build_one_cst instead of + build_int_cst (..., 1). Formatting fixes. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-23 Jakub Jelinek + + PR tree-optimization/99204 + * fold-const.c (fold_read_from_constant_string): Check that + tree_fits_uhwi_p (index) rather than just that index is INTEGER_CST. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-19 Jakub Jelinek + + PR ipa/99034 + * tree-cfg.c (gimple_merge_blocks): If bb a starts with eh landing + pad or non-local label, put FORCED_LABELs from bb b after that label + rather than before it. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-15 Jakub Jelinek + + PR tree-optimization/99079 + * match.pd (A % (pow2pcst << N) -> A & ((pow2pcst << N) - 1)): Remove + useless tree_nop_conversion_p (type, TREE_TYPE (@3)) check. Instead + require both type and TREE_TYPE (@1) to be integral types and either + type having smaller or equal precision, or TREE_TYPE (@1) being + unsigned type, or type being signed type. If TREE_TYPE (@1) + doesn't have wrapping overflow, perform the subtraction of one in + unsigned type. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-10 Jakub Jelinek + + PR c++/99035 + * varasm.c (declare_weak): For -fsyntax-only, allow even + TREE_ASM_WRITTEN function decls. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-10 Jakub Jelinek + + PR middle-end/99007 + * gimplify.c (gimplify_scan_omp_clauses): For MEM_REF on reductions, + temporarily disable gimplify_ctxp->into_ssa around gimplify_expr + calls. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-03 Jakub Jelinek + + PR middle-end/97487 + * ifcvt.c (noce_can_force_operand): New function. + (noce_emit_move_insn): Use it. + (noce_try_sign_mask): Likewise. Formatting fix. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-03 Jakub Jelinek + + PR middle-end/97971 + * lra-constraints.c (process_alt_operands): For inline asm, don't call + fatal_insn, but instead return false. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-03 Jakub Jelinek + + PR tree-optimization/98287 + * config/i386/mmx.md (3): For shifts don't enable expander + for V1DImode. + +2021-03-19 Eric Botcazou + + PR middle-end/99641 + * fold-const.c (native_encode_initializer) : For an + array type, do the computation of the current position in sizetype. + 2021-03-18 Sinan Lin Backported from master: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 44e63e37eef..ceb88dd1088 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210319 +20210320 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 8c458d0fd10..8cb3658693c 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,13 @@ +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-03 Jakub Jelinek + + PR c/99324 + * c-common.c (build_va_arg): Call c_common_mark_addressable_vec + instead of mark_addressable. Fix a comment typo - + neutrallly -> neutrally. + 2021-01-14 Iain Sandoe Backported from master: diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index f7bb99c799c..e382ce56e25 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,12 @@ +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-18 Jakub Jelinek + + PR c/99136 + * c-typeck.c (c_finish_return): Don't wrap retval into + EXCESS_PRECISION_EXPR in functions that return void. + 2021-03-06 Tobias Burnus Backported from master: diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 75bdc3cce34..a5f971df498 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,105 @@ +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-16 Jakub Jelinek + + PR c++/99613 + * decl.c (expand_static_init): For thread guards, call __cxa_atexit + before calling __cxa_guard_release rather than after it. Formatting + fixes. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-12 Jakub Jelinek + + PR c++/99507 + * call.c (build_over_call): For immediate evaluation of functions + that return references, undo convert_from_reference effects before + calling cxx_constant_value and call convert_from_reference + afterwards. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-04 Jakub Jelinek + + PR c++/88146 + PR c++/99362 + * cvt.c (convert_to_void): Revert 2019-10-17 changes. Clarify + comment. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-03 Jakub Jelinek + + PR c++/82959 + * call.c (op_is_ordered): Handle TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR + and COMPOUND_EXPR. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-26 Jakub Jelinek + + PR c++/95451 + * lambda.c (is_lambda_ignored_entity): Before checking for + LAMBDA_FUNCTION_P, use OVL_FIRST. Drop FUNCTION_DECL check. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-17 Jakub Jelinek + + PR sanitizer/99106 + * init.c (build_zero_init_1): For flexible array members just return + NULL_TREE instead of returning empty CONSTRUCTOR with non-complete + ARRAY_TYPE. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-12 Jakub Jelinek + + PR c++/97742 + * parser.c (cp_parser_requirement_seq): Stop iterating after reaching + CPP_EOF. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-11 Jakub Jelinek + + PR c++/99033 + * init.c (build_zero_init_1): Handle zero initialiation of + flexible array members like initialization of [0] arrays. + Use integer_minus_onep instead of comparison to integer_minus_one_node + and integer_zerop instead of comparison against size_zero_node. + Formatting fixes. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-10 Jakub Jelinek + + PR c++/98988 + PR c++/99031 + * constexpr.c: Include cgraph.h. + (cxx_eval_call_expression): Call varpool_node::finalize_decl on + heap artificial vars. + (cxx_eval_outermost_constant_expr): Remove varpool nodes for + heap artificial vars. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-05 Jakub Jelinek + + PR c++/97878 + * decl.c (check_array_initializer): For structured bindings, require + the array type to be complete. + 2021-03-15 Iain Sandoe * coroutines.cc (struct var_nest_node): Provide a default diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index fa148727ef9..492e9056274 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,14 @@ +2021-03-19 Harald Anlauf + + Backported from master: + 2021-03-10 Harald Anlauf + + PR fortran/99205 + * data.c (gfc_assign_data_value): Reject non-constant character + length for lvalue. + * trans-array.c (gfc_conv_array_initializer): Restrict loop to + elements which are defined to avoid NULL pointer dereference. + 2021-03-15 Paul Thomas Backported from master: diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cf39843115b..87a9f35aeba 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,262 @@ +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-18 Jakub Jelinek + + PR testsuite/99636 + * gcc.dg/strlenopt-80.c: For powerpc*-*-*, only enable for lp64. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-18 Jakub Jelinek + + PR testsuite/99626 + * gcc.dg/strlenopt-73.c: Ifdef out test_copy_cond_unequal_length_i64 + on targets other than x86, aarch64, s390 and 64-bit powerpc. Use + test_copy_cond_unequal_length_i128 for __x86_64__ with int128 support + rather than __i386__. + +2021-03-19 Christophe Lyon + + Backported from master: + 2021-03-16 Christophe Lyon + + PR target/99542 + * gcc.dg/declare-simd.c (fn2): Expect a warning only under lp64. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-16 Jakub Jelinek + + PR target/99563 + * gcc.target/i386/avx-pr99563.c: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-16 Jakub Jelinek + + PR target/99542 + * gcc.dg/gomp/pr99542.c: New test. + * gcc.dg/gomp/pr59669-2.c (bar): Don't expect a warning on aarch64. + * gcc.dg/gomp/simd-clones-2.c (setArray): Likewise. + * g++.dg/vect/simd-clone-7.cc (bar): Likewise. + * g++.dg/gomp/declare-simd-1.C (f37): Expect a different warning + on aarch64. + * gcc.dg/declare-simd.c (fn2): Expect a new warning on aarch64. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-12 Jakub Jelinek + + PR c++/99507 + * g++.dg/cpp2a/consteval19.C: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-11 Jakub Jelinek + + PR ipa/99517 + * gcc.target/i386/avx2-pr99517-1.c: New test. + * gcc.target/i386/avx2-pr99517-2.c: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-04 Jakub Jelinek + + PR middle-end/93235 + * gcc.target/aarch64/pr93235.c: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-04 Jakub Jelinek + + PR c++/88146 + PR c++/99362 + * g++.dg/cpp2a/nodiscard-constructor.c: Renamed to ... + * g++.dg/cpp2a/nodiscard-constructor1.C: ... this. Remove + -ftrack-macro-expansion=0 from dg-options. Don't use (?n) in + dg-warning regexps, instead replace .* with \[^\n\r]*. + * g++.dg/cpp2a/nodiscard-constructor2.C: New test. + * g++.dg/cpp2a/nodiscard-reason-only-one.C: Remove + -ftrack-macro-expansion=0 from dg-options. + * g++.dg/cpp2a/nodiscard-reason-nonstring.C: Likewise. + * g++.dg/cpp2a/nodiscard-once.C: Likewise. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-03 Jakub Jelinek + + PR c++/82959 + * g++.dg/cpp1z/eval-order10.C: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-03 Jakub Jelinek + + PR c/99324 + * gcc.c-torture/compile/pr99324.c: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-03-03 Jakub Jelinek + + PR target/99085 + * gcc.dg/graphite/pr99085.c: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-26 Jakub Jelinek + + PR c++/95451 + * g++.dg/cpp1y/lambda-generic-95451.C: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-24 Jakub Jelinek + + PR tree-optimization/99225 + * gcc.c-torture/compile/pr99225.c: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-23 Jakub Jelinek + + PR tree-optimization/99204 + * gfortran.dg/pr99204.f90: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-19 Jakub Jelinek + + PR ipa/99034 + * g++.dg/opt/pr99034.C: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-18 Jakub Jelinek + + PR c/99136 + * gcc.dg/pr99136.c: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-17 Jakub Jelinek + + PR sanitizer/99106 + * g++.dg/ubsan/pr99106.C: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-15 Jakub Jelinek + + PR tree-optimization/99079 + * gcc.dg/fold-modpow2-2.c: New test. + * gcc.c-torture/execute/pr99079.c: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-12 Jakub Jelinek + + PR c++/97742 + * g++.dg/cpp2a/concepts-requires24.C: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-11 Jakub Jelinek + + PR c++/99033 + * g++.dg/ext/flexary38.C: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-10 Jakub Jelinek + + PR c++/99035 + * g++.dg/ext/weak6.C: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-10 Jakub Jelinek + + PR c++/98988 + PR c++/99031 + * g++.dg/cpp2a/constexpr-new16.C: New test. + * g++.dg/cpp2a/constexpr-new17.C: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-10 Jakub Jelinek + + PR middle-end/99007 + * g++.dg/gomp/pr99007.C: New test. + * gcc.dg/gomp/pr99007-1.c: New test. + * gcc.dg/gomp/pr99007-2.c: New test. + * gcc.dg/gomp/pr99007-3.c: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-05 Jakub Jelinek + + PR c++/97878 + * g++.dg/cpp1z/decomp54.C: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-03 Jakub Jelinek + + PR middle-end/97487 + * gcc.dg/pr97487-1.c: New test. + * gcc.dg/pr97487-2.c: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-03 Jakub Jelinek + + PR middle-end/97971 + * gcc.target/i386/pr97971.c: New test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-03 Jakub Jelinek + + PR tree-optimization/98287 + * gcc.dg/pr98287.c: New test. + +2021-03-19 Harald Anlauf + + Backported from master: + 2021-03-10 Harald Anlauf + + PR fortran/99205 + * gfortran.dg/data_char_4.f90: New test. + * gfortran.dg/data_char_5.f90: New test. + 2021-03-18 Kyrylo Tkachov Backported from master: diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 38c87c7b42d..1101c300aa9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,23 @@ +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-23 Jakub Jelinek + + PR libstdc++/99181 + * testsuite/21_strings/char_traits/requirements/char/99181.cc: New + test. + +2021-03-19 Jakub Jelinek + + Backported from master: + 2021-02-23 Jakub Jelinek + + PR libstdc++/99181 + * include/bits/char_traits.h (char_traits::compare): For + constexpr evaluation don't call + __gnu_cxx::char_traits::compare but do the comparison loop + directly. + 2021-02-09 Jonathan Wakely Backported from master: