From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id BE9C03858D20; Thu, 13 Jul 2023 00:17:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE9C03858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689207475; bh=n0Tpna0cdPbyesUop5Y/ETRoAB8NNX10+KhIrQuUsfo=; h=From:To:Subject:Date:From; b=a8y3FqySVZKrERyFO1XwyFihCBFi2q79xU9lvJQ/9gaCi9d5GqIf5sWWDkk5LIjjO BPOag64Pdwx7WOGI/ynuN++9dHy95obHfQAQ+6VIdc5pbF8dI0OtmfyJ0P/AjQ+rna vjvoCielRhqKjjWoui771EIW/8/d585J7IJl0O6I= 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-2483] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 44f244e4672578be6cc513104473981790a1c164 X-Git-Newrev: 15939bae358e9f79f91c51d72c6095facdcbe4e3 Message-Id: <20230713001755.BE9C03858D20@sourceware.org> Date: Thu, 13 Jul 2023 00:17:55 +0000 (GMT) List-Id: https://gcc.gnu.org/g:15939bae358e9f79f91c51d72c6095facdcbe4e3 commit r14-2483-g15939bae358e9f79f91c51d72c6095facdcbe4e3 Author: GCC Administrator Date: Thu Jul 13 00:17:12 2023 +0000 Daily bump. Diff: --- ChangeLog | 8 ++ gcc/ChangeLog | 278 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/fortran/ChangeLog | 15 +++ gcc/testsuite/ChangeLog | 91 ++++++++++++++++ libgomp/ChangeLog | 23 ++++ libstdc++-v3/ChangeLog | 40 +++++++ 7 files changed, 456 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 81b7ba31d48..4a6f7221b76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2023-07-12 Hao Liu + + * MAINTAINERS: Add Hao Liu to write after approval + +2023-07-12 Ken Matsui + + * MAINTAINERS: Add Ken Matsui to write after approval + 2023-07-07 Eugene Rozenfeld * Makefile.in: Collect both kernel and user events for autofdo diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 111302e0676..dfeefd1937c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,281 @@ +2023-07-12 Juzhe-Zhong + + * config/riscv/autovec.md (cond_len_): New pattern. + * config/riscv/riscv-protos.h (enum insn_type): New enum. + (expand_cond_len_binop): New function. + * config/riscv/riscv-v.cc (emit_nonvlmax_tu_insn): Ditto. + (emit_nonvlmax_fp_tu_insn): Ditto. + (need_fp_rounding_p): Ditto. + (expand_cond_len_binop): Ditto. + * config/riscv/riscv.cc (riscv_preferred_else_value): Ditto. + (TARGET_PREFERRED_ELSE_VALUE): New target hook. + +2023-07-12 Jan Hubicka + + * tree-cfg.cc (gimple_duplicate_sese_region): Rename to ... + (gimple_duplicate_seme_region): ... this; break out profile updating + code to ... + * tree-ssa-loop-ch.cc (update_profile_after_ch): ... here. + (ch_base::copy_headers): Update. + * tree-cfg.h (gimple_duplicate_sese_region): Rename to ... + (gimple_duplicate_seme_region): ... this. + +2023-07-12 Aldy Hernandez + + PR tree-optimization/107043 + * range-op.cc (operator_bitwise_and::op1_range): Update bitmask. + +2023-07-12 Aldy Hernandez + + PR tree-optimization/107053 + * gimple-range-op.cc (cfn_popcount): Use known set bits. + +2023-07-12 Uros Bizjak + + * ira.cc (equiv_init_varies_p): Change return type from int to bool + and adjust function body accordingly. + (equiv_init_movable_p): Ditto. + (memref_used_between_p): Ditto. + * lra-constraints.cc (valid_address_p): Ditto. + +2023-07-12 Aldy Hernandez + + * range-op.cc (irange_to_masked_value): Remove. + (update_known_bitmask): Update irange value/mask pair instead of + only updating nonzero bits. + +2023-07-12 Jan Hubicka + + * tree-cfg.cc (gimple_duplicate_sese_region): Add ORIG_ELIMINATED_EDGES + parameter and rewrite profile updating code to handle edges elimination. + * tree-cfg.h (gimple_duplicate_sese_region): Update prototpe. + * tree-ssa-loop-ch.cc (loop_invariant_op_p): New function. + (loop_iv_derived_p): New function. + (should_duplicate_loop_header_p): Track invariant exit edges; fix handling + of PHIs and propagation of IV derived variables. + (ch_base::copy_headers): Pass around the invariant edges hash set. + +2023-07-12 Uros Bizjak + + * ifcvt.cc (cond_exec_changed_p): Change variable to bool. + (last_active_insn): Change "skip_use_p" function argument to bool. + (noce_operand_ok): Change return type from int to bool. + (find_cond_trap): Ditto. + (block_jumps_and_fallthru_p): Change "fallthru_p" and + "jump_p" variables to bool. + (noce_find_if_block): Change return type from int to bool. + (cond_exec_find_if_block): Ditto. + (find_if_case_1): Ditto. + (find_if_case_2): Ditto. + (dead_or_predicable): Ditto. Change "reversep" function arg to bool. + (block_jumps_and_fallthru): Rename from block_jumps_and_fallthru_p. + (cond_exec_process_insns): Change return type from int to bool. + Change "mod_ok" function arg to bool. + (cond_exec_process_if_block): Change return type from int to bool. + Change "do_multiple_p" function arg to bool. Change "then_mod_ok" + variable to bool. + (noce_emit_store_flag): Change return type from int to bool. + Change "reversep" function arg to bool. Change "cond_complex" + variable to bool. + (noce_try_move): Change return type from int to bool. + (noce_try_ifelse_collapse): Ditto. + (noce_try_store_flag): Ditto. Change "reversep" variable to bool. + (noce_try_addcc): Change return type from int to bool. Change + "subtract" variable to bool. + (noce_try_store_flag_constants): Change return type from int to bool. + (noce_try_store_flag_mask): Ditto. Change "reversep" variable to bool. + (noce_try_cmove): Change return type from int to bool. + (noce_try_cmove_arith): Ditto. Change "is_mem" variable to bool. + (noce_try_minmax): Change return type from int to bool. Change + "unsignedp" variable to bool. + (noce_try_abs): Change return type from int to bool. Change + "negate" variable to bool. + (noce_try_sign_mask): Change return type from int to bool. + (noce_try_move): Ditto. + (noce_try_store_flag_constants): Ditto. + (noce_try_cmove): Ditto. + (noce_try_cmove_arith): Ditto. + (noce_try_minmax): Ditto. Change "unsignedp" variable to bool. + (noce_try_bitop): Change return type from int to bool. + (noce_operand_ok): Ditto. + (noce_convert_multiple_sets): Ditto. + (noce_convert_multiple_sets_1): Ditto. + (noce_process_if_block): Ditto. + (check_cond_move_block): Ditto. + (cond_move_process_if_block): Ditto. Change "success_p" + variable to bool. + (rest_of_handle_if_conversion): Change return type to void. + +2023-07-12 Ju-Zhe Zhong + + * internal-fn.cc (FOR_EACH_CODE_MAPPING): Adapt for COND_LEN_* support. + (CASE): Ditto. + (get_conditional_len_internal_fn): New function. + * internal-fn.h (get_conditional_len_internal_fn): Ditto. + * tree-vect-stmts.cc (vectorizable_operation): Adapt for COND_LEN_* + support. + +2023-07-12 Roger Sayle + + PR target/91681 + * config/i386/i386.md (*add3_doubleword_concat_zext): Typo. + +2023-07-12 Roger Sayle + + PR target/91681 + * config/i386/i386.md (*add3_doubleword_concat_zext): New + define_insn_and_split derived from *add3_doubleword_concat + and *add3_doubleword_zext. + +2023-07-12 Roger Sayle + + PR target/110598 + * config/i386/i386.md (peephole2): Check !reg_mentioned_p when + optimizing rega = 0; rega op= regb for op in [XOR,IOR,PLUS]. + (peephole2): Simplify rega = 0; rega op= rega cases. + +2023-07-12 Roger Sayle + + * config/i386/i386-expand.cc (ix86_expand_int_compare): If + testing a TImode SUBREG of a 128-bit vector register against + zero, use a PTEST instruction instead of first moving it to + a pair of scalar registers. + +2023-07-12 Robin Dapp + + * genopinit.cc (main): Adjust maximal number of optabs and + machine modes. + * gensupport.cc (find_optab): Shift optab by 20 and mode by + 10 bits. + * optabs-query.h (optab_handler): Ditto. + (convert_optab_handler): Ditto. + +2023-07-12 Richard Biener + + PR tree-optimization/110630 + * tree-vect-slp.cc (vect_add_slp_permutation): New + offset parameter, honor that for the extract code generation. + (vectorizable_slp_permutation_1): Handle offsetted identities. + +2023-07-12 Ju-Zhe Zhong + + * config/riscv/autovec.md (smul3_highpart): New pattern. + (umul3_highpart): Ditto. + +2023-07-12 Jan Beulich + + * config/i386/i386.md (extendbfsf2_1): Add new AVX512F + alternative. Adjust original last alternative's "prefix" + attribute to maybe_evex. + +2023-07-12 Jan Beulich + + * config/i386/sse.md (vec_dupv4sf): Make first alternative use + vbroadcastss for AVX2. New AVX512F alternative. + (*vec_dupv4si): New AVX2 and AVX512F alternatives using + vpbroadcastd. Replace sselog1 by sseshuf1 in "type" attribute. + +2023-07-12 Christoph Müllner + + * config/riscv/peephole.md: Remove XThead* peephole passes. + * config/riscv/thead.md: Include thead-peephole.md. + * config/riscv/thead-peephole.md: New file. + +2023-07-12 Christoph Müllner + + * config/riscv/riscv-protos.h (riscv_regno_ok_for_index_p): + New prototype. + (riscv_index_reg_class): Likewise. + * config/riscv/riscv.cc (riscv_regno_ok_for_index_p): New function. + (riscv_index_reg_class): New function. + * config/riscv/riscv.h (INDEX_REG_CLASS): Call new function + riscv_index_reg_class(). + (REGNO_OK_FOR_INDEX_P): Call new function + riscv_regno_ok_for_index_p(). + +2023-07-12 Christoph Müllner + + * config/riscv/riscv-protos.h (enum riscv_address_type): + New location of type definition. + (struct riscv_address_info): Likewise. + * config/riscv/riscv.cc (enum riscv_address_type): + Old location of type definition. + (struct riscv_address_info): Likewise. + +2023-07-12 Christoph Müllner + + * config/riscv/riscv.h (Xmode): New macro. + +2023-07-12 Christoph Müllner + + * config/riscv/riscv.cc (riscv_print_operand_address): Use + output_addr_const rather than riscv_print_operand. + +2023-07-12 Christoph Müllner + + * config/riscv/thead.md: Adjust constraints of th_addsl. + +2023-07-12 Christoph Müllner + + * config/riscv/thead.cc (th_mempair_operands_p): + Fix documentation of th_mempair_order_operands(). + +2023-07-12 Christoph Müllner + + * config/riscv/thead.cc (th_mempair_save_regs): + Emit REG_FRAME_RELATED_EXPR notes in prologue. + +2023-07-12 Christoph Müllner + + * config/riscv/riscv.md: No base-ISA extension splitter for XThead*. + * config/riscv/thead.md (*extend2_th_ext): + New XThead extension INSN. + (*zero_extendsidi2_th_extu): New XThead extension INSN. + (*zero_extendhi2_th_extu): New XThead extension INSN. + +2023-07-12 liuhongt + + PR target/110438 + PR target/110202 + * config/i386/predicates.md + (int_float_vector_all_ones_operand): New predicate. + * config/i386/sse.md (*vmov_constm1_pternlog_false_dep): New + define_insn. + (*_cvtmask2_pternlog_false_dep): + Ditto. + (*_cvtmask2_pternlog_false_dep): + Ditto. + (*_cvtmask2): Adjust to + define_insn_and_split to avoid false dependence. + (*_cvtmask2): Ditto. + (one_cmpl2): Adjust constraint + of operands 1 to '0' to avoid false dependence. + (*andnot3): Ditto. + (iornot3): Ditto. + (*3): Ditto. + +2023-07-12 Mo, Zewei + + * common/config/i386/cpuinfo.h + (get_intel_cpu): Handle Granite Rapids D. + * common/config/i386/i386-common.cc: + (processor_alias_table): Add graniterapids-d. + * common/config/i386/i386-cpuinfo.h + (enum processor_subtypes): Add INTEL_COREI7_GRANITERAPIDS_D. + * config.gcc: Add -march=graniterapids-d. + * config/i386/driver-i386.cc (host_detect_local_cpu): + Handle graniterapids-d. + * config/i386/i386.h: (PTA_GRANITERAPIDS_D): New. + * doc/extend.texi: Add graniterapids-d. + * doc/invoke.texi: Ditto. + +2023-07-12 Haochen Jiang + + * config/i386/i386-builtins.cc (ix86_init_mmx_sse_builtins): + Add OPTION_MASK_ISA_AVX512VL. + * config/i386/i386-expand.cc (ix86_check_builtin_isa_match): + Ditto. + 2023-07-11 Ju-Zhe Zhong * config/riscv/riscv-protos.h (enum insn_type): Add vcompress optimization. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index b130beac02a..da7e2171bfa 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230712 +20230713 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index bc4ad57e071..82e5a9690ff 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,18 @@ +2023-07-12 Andre Vehreschild + + PR fortran/102003 + * expr.cc (find_inquiry_ref): Replace len of pdt_string by + constant. + (simplify_ref_chain): Ensure input to find_inquiry_ref is + NULL. + (gfc_match_init_expr): Prevent PDT analysis for function calls. + (gfc_pdt_find_component_copy_initializer): Get the initializer + value for given component. + * gfortran.h (gfc_pdt_find_component_copy_initializer): New + function. + * simplify.cc (gfc_simplify_len): Replace len() of PDT with pdt + component ref or constant. + 2023-07-11 Harald Anlauf PR fortran/110288 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5c0e05b5af2..b72c1f6bfed 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,94 @@ +2023-07-12 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/binop/vdiv-rv32gcv.c: Adapt testcase. + * gcc.target/riscv/rvv/autovec/binop/vdiv-rv64gcv.c: Ditto. + * gcc.target/riscv/rvv/autovec/binop/vrem-rv32gcv.c: Ditto. + * gcc.target/riscv/rvv/autovec/binop/vrem-rv64gcv.c: Ditto. + * gcc.target/riscv/rvv/autovec/binop/vadd-run-nofm.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vadd-rv32gcv-nofm.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vadd-rv64gcv-nofm.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vdiv-run-nofm.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vdiv-rv32gcv-nofm.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vdiv-rv64gcv-nofm.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vmul-run-nofm.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vmul-rv32gcv-nofm.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vmul-rv64gcv-nofm.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vsub-run-nofm.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vsub-rv32gcv-nofm.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vsub-rv64gcv-nofm.c: New test. + +2023-07-12 Aldy Hernandez + + PR tree-optimization/107043 + * gcc.dg/tree-ssa/pr107043.c: New test. + +2023-07-12 Aldy Hernandez + + PR tree-optimization/107053 + * gcc.dg/tree-ssa/pr107053.c: New test. + +2023-07-12 Aldy Hernandez + + * gcc.dg/pr83073.c: Adjust testcase. + +2023-07-12 Jan Hubicka + + * gcc.dg/tree-ssa/loop-ch-profile-1.c: Remove xfail. + +2023-07-12 Christoph Müllner + + * gcc.target/riscv/xtheadcondmov-indirect-rv32.c: Moved to... + * gcc.target/riscv/xtheadcondmov-indirect.c: ...here. + * gcc.target/riscv/xtheadcondmov-indirect-rv64.c: Removed. + +2023-07-12 Roger Sayle + + PR target/110598 + * gcc.target/i386/pr110598.c: New test case. + +2023-07-12 Andre Vehreschild + + * gfortran.dg/pdt_33.f03: New test. + +2023-07-12 Richard Biener + + PR tree-optimization/110630 + * gcc.dg/vect/bb-slp-pr95839.c: Make stricter. + * gcc.dg/vect/bb-slp-pr95839-3.c: New variant testcase. + +2023-07-12 Ju-Zhe Zhong + + * gcc.target/riscv/rvv/autovec/binop/mulh-1.c: New test. + * gcc.target/riscv/rvv/autovec/binop/mulh-2.c: New test. + * gcc.target/riscv/rvv/autovec/binop/mulh_run-1.c: New test. + * gcc.target/riscv/rvv/autovec/binop/mulh_run-2.c: New test. + +2023-07-12 Jan Beulich + + * gcc.target/i386/avx2-dupv4sf.c: New test. + * gcc.target/i386/avx2-dupv4si.c: Likewise. + * gcc.target/i386/avx512f-dupv4sf.c: Likewise. + * gcc.target/i386/avx512f-dupv4si.c: Likewise. + +2023-07-12 Christoph Müllner + + * gcc.target/riscv/xtheadbb-ext-1.c: New test. + * gcc.target/riscv/xtheadbb-extu-1.c: New test. + +2023-07-12 liuhongt + + * gcc.target/i386/pr110438.c: New test. + * gcc.target/i386/pr100711-6.c: Adjust testcase. + +2023-07-12 Mo, Zewei + + * g++.target/i386/mv16.C: Add graniterapids-d. + * gcc.target/i386/funcspec-56.inc: Handle new march. + +2023-07-12 Haochen Jiang + + * gcc.target/i386/avx512vl-vaes-1.c: New test. + 2023-07-11 Ju-Zhe Zhong * gcc.target/riscv/rvv/autovec/vls-vlmax/compress-1.c: New test. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 5ff1d3b2a88..f8a092281d7 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,26 @@ +2023-07-12 Tobias Burnus + + * libgomp.texi (OpenMP 5.0): Replace '... stub' by @ref to + 'Memory allocation' section which contains the full status. + (TR11): Remove differently worded duplicated entry. + +2023-07-12 Tobias Burnus + + * allocator.c: Add ifdef for LIBGOMP_USE_LIBNUMA. + (enum gomp_numa_memkind_kind): Renamed from gomp_memkind_kind; + add GOMP_MEMKIND_LIBNUMA. + (struct gomp_libnuma_data, gomp_init_libnuma, gomp_get_libnuma): New. + (omp_init_allocator): Handle partition=nearest with libnuma if avail. + (omp_aligned_alloc, omp_free, omp_aligned_calloc, omp_realloc): Add + numa_alloc_local (+ memset), numa_free, and numa_realloc calls as + needed. + * config/linux/allocator.c (LIBGOMP_USE_LIBNUMA): Define + * libgomp.texi: Fix a typo; use 'fi' instead of its ligature char. + (Memory allocation): Renamed from 'Memory allocation with libmemkind'; + updated for libnuma usage. + * testsuite/libgomp.c-c++-common/alloc-11.c: New test. + * testsuite/libgomp.c-c++-common/alloc-12.c: New test. + 2023-07-11 Tobias Burnus * allocator.c (omp_init_allocator): Use malloc for diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 324bdeadf34..bc34ceabce6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,43 @@ +2023-07-12 Jonathan Wakely + + PR libstdc++/95048 + * testsuite/27_io/filesystem/path/construct/95048.cc: Check + conversions to wide strings. + * testsuite/experimental/filesystem/path/construct/95048.cc: + Likewise. + +2023-07-12 Jonathan Wakely + + * config/io/basic_file_stdio.cc: Define LFS macros. + (__basic_file::open): Use fopen unconditionally. + (get_file_offset): Use lseek unconditionally. + (__basic_file::seekoff): Likewise. + (__basic_file::showmanyc): Use fstat unconditionally. + +2023-07-12 Jonathan Wakely + + PR libstdc++/110574 + * acinclude.m4 (GLIBCXX_CHECK_LFS): Check for fseeko and ftello + and define _GLIBCXX_USE_FSEEKO_FTELLO. + * config.h.in: Regenerate. + * configure: Regenerate. + * config/io/basic_file_stdio.cc (xwrite) [_GLIBCXX_USE_STDIO_PURE]: + Check for fwrite error correctly. + (__basic_file::xsgetn) [_GLIBCXX_USE_STDIO_PURE]: Check for + fread error correctly. + (get_file_offset): New function. + (__basic_file::seekoff) [_GLIBCXX_USE_STDIO_PURE]: Use + fseeko if available. Use get_file_offset instead of return value + of fseek. + (__basic_file::showmanyc): Use get_file_offset. + +2023-07-12 Ken Matsui + + * include/std/type_traits (__make_unsigned_selector): Use + __is_enum built-in trait. + (__make_signed_selector): Likewise. + (__underlying_type_impl): Likewise. + 2023-07-06 Tianqiang Shuai <1101282468@qq.com> * config/io/basic_file_stdio.cc (xwrite) [USE_STDIO_PURE]: Fix