From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 9B4A63857020; Wed, 7 Jun 2023 00:18:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B4A63857020 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686097090; bh=ecmJcuL2ma//iMWw7jUtFJXC5RqCUg6Da5/kDL7Teig=; h=From:To:Subject:Date:From; b=MzsF6EoTR+Djv8SoByLqT1jedD3nwHrOCDf6QJnG5zBEEdmgQa304Jjg5FlRJcrqM 2dfFVwHzsPFp+Lit0da1YIwo7ciL0NVXgxGT8FTzyvTrrZcoJZ7Bv+zbyPzDZqOhQq 8KQvCI05esoM6TcBCQPmHswZtKy1+VA07uWp4SdE= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r14-1587] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 6160572f8d243cb613ee0290fdc8580f1761d805 X-Git-Newrev: 4f0d4825fa489cc1875c94ab405a800a8d76e506 Message-Id: <20230607001810.9B4A63857020@sourceware.org> Date: Wed, 7 Jun 2023 00:18:10 +0000 (GMT) List-Id: https://gcc.gnu.org/g:4f0d4825fa489cc1875c94ab405a800a8d76e506 commit r14-1587-g4f0d4825fa489cc1875c94ab405a800a8d76e506 Author: GCC Administrator Date: Wed Jun 7 00:17:25 2023 +0000 Daily bump. Diff: --- gcc/ChangeLog | 169 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c/ChangeLog | 13 ++++ gcc/cp/ChangeLog | 13 ++++ gcc/fortran/ChangeLog | 20 ++++++ gcc/testsuite/ChangeLog | 59 +++++++++++++++++ include/ChangeLog | 14 ++++ libgomp/ChangeLog | 24 +++++++ libiberty/ChangeLog | 4 ++ libstdc++-v3/ChangeLog | 89 +++++++++++++++++++++++++ 10 files changed, 406 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fae8c101640..e6e212a7207 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,172 @@ +2023-06-06 Roger Sayle + + * doc/rtl.texi (bitreverse, copysign): Document new RTX codes. + * rtl.def (BITREVERSE, COPYSIGN): Define new RTX codes. + * simplify-rtx.cc (simplify_unary_operation_1): Optimize + NOT (BITREVERSE x) as BITREVERSE (NOT x). + Optimize POPCOUNT (BITREVERSE x) as POPCOUNT x. + Optimize PARITY (BITREVERSE x) as PARITY x. + Optimize BITREVERSE (BITREVERSE x) as x. + (simplify_const_unary_operation) : Evaluate + BITREVERSE of a constant integer at compile-time. + (simplify_binary_operation_1) : Optimize + COPY_SIGN (x, x) as x. Optimize COPYSIGN (x, C) as ABS x + or NEG (ABS x) for constant C. Optimize COPYSIGN (ABS x, y) + and COPYSIGN (NEG x, y) as COPYSIGN (x, y). + Optimize COPYSIGN (x, ABS y) as ABS x. + Optimize COPYSIGN (COPYSIGN (x, y), z) as COPYSIGN (x, z). + Optimize COPYSIGN (x, COPYSIGN (y, z)) as COPYSIGN (x, z). + (simplify_const_binary_operation): Evaluate COPYSIGN of constant + arguments at compile-time. + +2023-06-06 Uros Bizjak + + * rtl.h (function_invariant_p): Change return type from int to bool. + * reload1.cc (function_invariant_p): Change return type from + int to bool and adjust function body accordingly. + +2023-06-06 Juzhe-Zhong + + * config/riscv/autovec-opt.md (*_fma): New pattern. + (*single_mult_plus): Ditto. + (*double_mult_plus): Ditto. + (*sign_zero_extend_fma): Ditto. + (*zero_sign_extend_fma): Ditto. + * config/riscv/riscv-protos.h (enum insn_type): New enum. + +2023-06-06 Kwok Cheung Yeung + Tobias Burnus + + * gimplify.cc (omp_notice_variable): Apply GOVD_MAP_ALLOC_ONLY flag + and defaultmap flags if the defaultmap has GOVD_MAP_FORCE_PRESENT flag + set. + (omp_get_attachment): Handle map clauses with 'present' modifier. + (omp_group_base): Likewise. + (gimplify_scan_omp_clauses): Reorder present maps to come first. + Set GOVD flags for present defaultmaps. + (gimplify_adjust_omp_clauses_1): Set map kind for present defaultmaps. + * omp-low.cc (scan_sharing_clauses): Handle 'always, present' map + clauses. + (lower_omp_target): Handle map clauses with 'present' modifier. + Handle 'to' and 'from' clauses with 'present'. + * tree-core.h (enum omp_clause_defaultmap_kind): Add + OMP_CLAUSE_DEFAULTMAP_PRESENT defaultmap kind. + * tree-pretty-print.cc (dump_omp_clause): Handle 'map', 'to' and + 'from' clauses with 'present' modifier. Handle present defaultmap. + * tree.h (OMP_CLAUSE_MOTION_PRESENT): New #define. + +2023-06-06 Segher Boessenkool + + * config/rs6000/genfusion.pl: Delete some dead code. + +2023-06-06 Segher Boessenkool + + * config/rs6000/genfusion.pl (gen_ld_cmpi_p10_one): New, rewritten and + split out from... + (gen_ld_cmpi_p10): ... this. + +2023-06-06 Jeevitha Palanisamy + + PR target/106907 + * config/rs6000/rs6000.cc (vec_const_128bit_to_bytes): Remove + duplicate expression. + +2023-06-06 Kyrylo Tkachov + + * config/aarch64/aarch64-builtins.cc (aarch64_general_gimple_fold_builtin): + Handle unsigned reduc_plus_scal_ builtins. + * config/aarch64/aarch64-simd-builtins.def (addp): Delete DImode instances. + * config/aarch64/aarch64-simd.md (aarch64_addpdi): Delete. + * config/aarch64/arm_neon.h (vpaddd_s64): Reimplement with + __builtin_aarch64_reduc_plus_scal_v2di. + (vpaddd_u64): Reimplement with __builtin_aarch64_reduc_plus_scal_v2di_uu. + +2023-06-06 Kyrylo Tkachov + + * config/aarch64/aarch64-simd.md (aarch64_shr_n): Delete. + (aarch64_rshr_n_insn): New define_insn. + (aarch64_rshr_n): New define_expand. + +2023-06-06 Kyrylo Tkachov + + * config/aarch64/aarch64-simd.md (aarch64_shrn_insn_le): Delete. + (aarch64_shrn_insn_be): Delete. + (*aarch64_shrn_vect): Rename to... + (*aarch64_shrn): ... This. + (aarch64_shrn): Remove reference to the above deleted patterns. + (aarch64_rshrn_insn_le): Delete. + (aarch64_rshrn_insn_be): Delete. + (aarch64_rshrn_insn): New define_insn. + (aarch64_rshrn): Remove references to the above deleted patterns. + +2023-06-06 Kyrylo Tkachov + + * config/aarch64/aarch64-protos.h (aarch64_parallel_select_half_p): + Define prototype. + (aarch64_pars_overlap_p): Likewise. + * config/aarch64/aarch64-simd.md (aarch64_addlv): + Express in terms of UNSPEC_ADDV. + (*aarch64_addlv_ze): Likewise. + (*aarch64_addlv_reduction): Define. + (*aarch64_uaddlv_reduction_2): Likewise. + * config/aarch64/aarch64.cc (aarch64_parallel_select_half_p): Define. + (aarch64_pars_overlap_p): Likewise. + * config/aarch64/iterators.md (UNSPEC_SADDLV, UNSPEC_UADDLV): Delete. + (VQUADW): New mode attribute. + (VWIDE2X_S): Likewise. + (USADDLV): Delete. + (su): Delete handling of UNSPEC_SADDLV, UNSPEC_UADDLV. + * config/aarch64/predicates.md (vect_par_cnst_select_half): Define. + +2023-06-06 Richard Biener + + PR middle-end/110055 + * gimplify.cc (gimplify_target_expr): Do not emit + CLOBBERs for variables which have static storage duration + after gimplifying their initializers. + +2023-06-06 Richard Biener + + PR tree-optimization/109143 + * tree-ssa-structalias.cc (solution_set_expand): Avoid + one bitmap iteration and optimize bit range setting. + +2023-06-06 Hans-Peter Nilsson + + PR bootstrap/110120 + * postreload.cc (reload_cse_move2add, move2add_use_add2_insn): Use + XVECEXP, not XEXP, to access first item of a PARALLEL. + +2023-06-06 Pan Li + + * config/riscv/riscv-vector-builtins-types.def + (vfloat16mf4_t): Add vfloat16mf4_t to WF operations. + (vfloat16mf2_t): Likewise. + (vfloat16m1_t): Likewise. + (vfloat16m2_t): Likewise. + (vfloat16m4_t): Likewise. + (vfloat16m8_t): Likewise. + * config/riscv/vector-iterators.md: Add FP=16 to VWF, VWF_ZVE64, + VWLMUL1, VWLMUL1_ZVE64, vwlmul1 and vwlmul1_zve64. + +2023-06-06 Fei Gao + + * config/riscv/riscv.cc (riscv_adjust_libcall_cfi_prologue): Use Pmode + for cfi reg/mem machmode + (riscv_adjust_libcall_cfi_epilogue): Use Pmode for cfi reg machmode + +2023-06-06 Li Xu + + * config/riscv/vector-iterators.md: + Fix 'REQUIREMENT' for machine_mode 'MODE'. + * config/riscv/vector.md (@pred_indexed_store + ): change VNX16_QHSI to VNX16_QHSDI. + (@pred_indexed_store): Ditto. + +2023-06-06 Pan Li + + * config/riscv/vector-iterators.md: Fix typo in mode attr. + 2023-06-05 Andre Vieira Joel Hutton diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 7e14e0ee146..2e61d1d960e 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230606 +20230607 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 7e016811456..d02017c3c98 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,16 @@ +2023-06-06 Kwok Cheung Yeung + Tobias Burnus + + * c-parser.cc (c_parser_omp_clause_defaultmap, + c_parser_omp_clause_map): Parse 'present'. + (c_parser_omp_clause_to, c_parser_omp_clause_from): Remove. + (c_parser_omp_clause_from_to): New; parse to/from clauses with + optional present modifer. + (c_parser_omp_all_clauses): Update call. + (c_parser_omp_target_data, c_parser_omp_target_enter_data, + c_parser_omp_target_exit_data): Handle new map enum values + for 'present' mapping. + 2023-05-30 Tobias Burnus PR c/109999 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7f57c1a3475..d00a2aa3e8d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,16 @@ +2023-06-06 Kwok Cheung Yeung + Tobias Burnus + + * parser.cc (cp_parser_omp_clause_defaultmap, + cp_parser_omp_clause_map): Parse 'present'. + (cp_parser_omp_clause_from_to): New; parse to/from + clauses with optional 'present' modifier. + (cp_parser_omp_all_clauses): Update call. + (cp_parser_omp_target_data, cp_parser_omp_target_enter_data, + cp_parser_omp_target_exit_data): Handle new enum value for + 'present' mapping. + * semantics.cc (finish_omp_target): Likewise. + 2023-06-04 Jason Merrill PR c++/97720 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index ea22bff0eca..26df2f561c1 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,23 @@ +2023-06-06 Kwok Cheung Yeung + Tobias Burnus + + * dump-parse-tree.cc (show_omp_namelist): Display 'present' map + modifier. + (show_omp_clauses): Display 'present' motion modifier for 'to' + and 'from' clauses. + * gfortran.h (enum gfc_omp_map_op): Add entries with 'present' + modifiers. + (struct gfc_omp_namelist): Add 'present_modifer'. + * openmp.cc (gfc_match_motion_var_list): New, handles optional + 'present' modifier for to/from clauses. + (gfc_match_omp_clauses): Call it for to/from clauses; parse 'present' + in defaultmap and map clauses. + (resolve_omp_clauses): Allow 'present' modifiers on 'target', + 'target data', 'target enter' and 'target exit' directives. + * trans-openmp.cc (gfc_trans_omp_clauses): Apply 'present' modifiers + to tree node for 'map', 'to' and 'from' clauses. Apply 'present' for + defaultmap. + 2023-06-02 Steve Kargl PR fortran/100607 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 326aede9fcc..f782b56a46c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,62 @@ +2023-06-06 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/widen/widen-8.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen-9.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen-complicate-5.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen-complicate-6.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen_run-8.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen_run-9.c: New test. + +2023-06-06 Kwok Cheung Yeung + Tobias Burnus + + * c-c++-common/gomp/map-6.c: Update dg-error, extend to test for + duplicated 'present' and extend scan-dump tests for 'present'. + * gfortran.dg/gomp/defaultmap-1.f90: Update dg-error. + * gfortran.dg/gomp/map-7.f90: Extend parse and dump test for + 'present'. + * gfortran.dg/gomp/map-8.f90: Extend for duplicate 'present' + modifier checking. + * c-c++-common/gomp/defaultmap-4.c: New test. + * c-c++-common/gomp/map-9.c: New test. + * c-c++-common/gomp/target-update-1.c: New test. + * gfortran.dg/gomp/defaultmap-8.f90: New test. + * gfortran.dg/gomp/map-11.f90: New test. + * gfortran.dg/gomp/map-12.f90: New test. + * gfortran.dg/gomp/target-update-1.f90: New test. + +2023-06-06 Kyrylo Tkachov + + * gcc.target/aarch64/simd/vrshr_1.c: New test. + +2023-06-06 Kyrylo Tkachov + + * gcc.target/aarch64/simd/pr99195_5.c: Add testing for shrn_n, rshrn_n + intrinsics. + +2023-06-06 Kyrylo Tkachov + + * gcc.target/aarch64/simd/addlv_1.c: New test. + +2023-06-06 Richard Biener + + PR middle-end/110055 + * g++.dg/warn/Wdangling-pointer-pr110055.C: New testcase. + +2023-06-06 Fei Gao + + * gcc.target/riscv/save-restore-cfi.c: New test to check save-restore + cfi directives. + +2023-06-06 Pan Li + + * gcc.target/riscv/rvv/base/zvfh-intrinsic.c: Add new test cases. + +2023-06-06 Fei Gao + + * gcc.target/riscv/save-restore-cfi-2.c: New test to check machmode + for cfi reg/mem. + 2023-06-05 Andre Vieira Joel Hutton Tamar Christina diff --git a/include/ChangeLog b/include/ChangeLog index 52b3159c999..7ddfaeb7985 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,17 @@ +2023-06-06 Kwok Cheung Yeung + Tobias Burnus + + * gomp-constants.h (GOMP_MAP_FLAG_SPECIAL_5): New. + (GOMP_MAP_FLAG_FORCE): Redefine. + (GOMP_MAP_FLAG_PRESENT, GOMP_MAP_FLAG_ALWAYS_PRESENT): New. + (enum gomp_map_kind): Add map kinds with 'present' modifiers. + (GOMP_MAP_COPY_TO_P, GOMP_MAP_COPY_FROM_P): Evaluate to true for + map variants with 'present' + (GOMP_MAP_ALWAYS_TO_P, GOMP_MAP_ALWAYS_FROM_P): Evaluate to true + for map variants with 'always, present' modifiers. + (GOMP_MAP_ALWAYS): Redefine. + (GOMP_MAP_FORCE_P, GOMP_MAP_PRESENT_P): New. + 2023-05-11 Joseph Myers PR middle-end/109128 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 9f48bebcc93..f924aeea5c0 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,27 @@ +2023-06-06 Tobias Burnus + + * plugin/plugin-gcn.c (GOMP_OFFLOAD_get_num_devices): Regard + unified_address requirement as supported. + * libgomp.texi (OpenMP 5.0, AMD Radeon, nvptx): Remove + 'unified_address' from the not-supported requirements. + +2023-06-06 Kwok Cheung Yeung + Tobias Burnus + + * libgomp.texi (OpenMP 5.1 Impl. status): Set 'present' support for + defaultmap to 'Y', add 'Y' entry for 'present' on to/from/map clauses. + * target.c (gomp_to_device_kind_p): Add map kinds with 'present' + modifier. + (gomp_map_vars_existing): Use new GOMP_MAP_FORCE_P macro. + (gomp_map_vars_internal, gomp_update, gomp_target_rev): + Emit runtime error if memory region not present. + * testsuite/libgomp.c-c++-common/target-present-1.c: New test. + * testsuite/libgomp.c-c++-common/target-present-2.c: New test. + * testsuite/libgomp.c-c++-common/target-present-3.c: New test. + * testsuite/libgomp.fortran/target-present-1.f90: New test. + * testsuite/libgomp.fortran/target-present-2.f90: New test. + * testsuite/libgomp.fortran/target-present-3.f90: New test. + 2023-06-02 Thomas Schwinge PR testsuite/66005 diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index d362426c1bd..59d7b5874f8 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2023-06-06 Costas Argyris + + * argv.c (writeargv): Simplify & remove gotos. + 2023-06-05 Costas Argyris * pex-win32.c: fix typos. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 31c1704aaee..aa14d62c5c0 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,92 @@ +2023-06-06 Jonathan Wakely + + * testsuite/util/testsuite_abi.cc (check_version): Add + CXXABI_1.3.15 symver and make it the latestp. Remove + GLIBCXX_IEEE128_3.4.31 and GLIBCXX_LDBL_3.4.31 from latestp. + +2023-06-06 Jonathan Wakely + Jakub Jelinek + + PR libstdc++/104772 + * include/std/limits: (numeric_limits<__float128>): Define + for __STRICT_ANSI__ as well. + * testsuite/18_support/numeric_limits/128bit.cc: Remove + check for __STRICT_ANSI__. + +2023-06-06 Jonathan Wakely + + * configure.ac: Use AS_IF. + * configure: Regenerate. + +2023-06-06 Matthias Kretz + + PR libstdc++/109822 + * include/experimental/bits/simd_builtin.h (_S_store): Rewrite + to avoid casts to other vector types. Implement store as + succession of power-of-2 sized memcpy to avoid PR90424. + +2023-06-06 Matthias Kretz + + PR libstdc++/110054 + * include/experimental/bits/simd_builtin.h (_S_masked_store): + Call into deduced ABI's SimdImpl after conversion. + * include/experimental/bits/simd_x86.h (_S_masked_store_nocvt): + Don't use _mm_maskmoveu_si128. Use the generic fall-back + implementation. Also fix masked stores without SSE2, which + were not doing anything before. + +2023-06-06 Matthias Kretz + + * include/experimental/bits/simd.h (__bit_cast): Use + __gnu__::__vector_size__ instead of gnu::vector_size. + +2023-06-06 Jonathan Wakely + + PR libstdc++/110139 + * include/std/array (__array_traits::operator T*()): Make + conversion operator explicit. + (array::front): Use size_type as subscript operand. + (array::data): Use static_cast to make conversion explicit. + * testsuite/23_containers/array/element_access/110139.cc: New + test. + +2023-06-06 Joseph Faulls + + * include/bits/locale_classes.tcc: Remove check for + codecvt facet. + +2023-06-06 Jonathan Wakely + + * src/filesystem/ops-common.h (do_copy_file) [O_CLOEXEC]: Set + close-on-exec flag on file descriptors. + +2023-06-06 Jonathan Wakely + + PR libstdc++/108178 + * src/filesystem/ops-common.h (do_copy_file): Check for empty + files by trying to read a character. + * testsuite/27_io/filesystem/operations/copy_file_108178.cc: + New test. + +2023-06-06 Jannik Glückert + + * acinclude.m4 (_GLIBCXX_USE_COPY_FILE_RANGE): Define. + * config.h.in: Regenerate. + * configure: Regenerate. + * src/filesystem/ops-common.h (copy_file_copy_file_range): + Define new function. + (do_copy_file): Use it. + +2023-06-06 Jannik Glückert + + * acinclude.m4 (_GLIBCXX_HAVE_LSEEK): Define. + * config.h.in: Regenerate. + * configure: Regenerate. + * src/filesystem/ops-common.h (copy_file_sendfile): Define new + function for sendfile logic. Loop to support large files. Skip + zero-length files. + (do_copy_file): Use it. + 2023-06-04 Jason Merrill PR c++/97720