From 0ce6353046ec3fccc16bb6465f8a7f3eb00547fa Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Sat, 22 Jul 2023 00:17:44 +0000 Subject: [PATCH] Daily bump. --- ChangeLog | 4 + config/ChangeLog | 4 + gcc/ChangeLog | 263 ++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 18 +++ gcc/cp/ChangeLog | 6 + gcc/po/ChangeLog | 4 + gcc/testsuite/ChangeLog | 143 ++++++++++++++++++++++ libgfortran/ChangeLog | 9 ++ 9 files changed, 452 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5688daa4930..b8a2ff8c0b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2023-07-21 Cupertino Miranda + + * MAINTAINERS: Add myself to write after approval + 2023-07-18 Ju-Zhe Zhong * MAINTAINERS: Add myself as a reviewer for the riscv port. diff --git a/config/ChangeLog b/config/ChangeLog index 994fed8e74d..420372a9ab8 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2023-07-21 Sergei Trofimovich + + * mh-mingw: Drop assignment of unused BOOT_CXXFLAGS variable. + 2022-11-14 Martin Liska Revert: diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4bbcc038b3a..835fec34e72 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,266 @@ +2023-07-21 Roger Sayle + Richard Biener + + PR c/110699 + * gimplify.cc (gimplify_compound_lval): If the array's type + is error_mark_node then return GS_ERROR. + +2023-07-21 Cupertino Miranda + + PR target/110770 + * config/bpf/bpf.opt: Added option -masm=. + * config/bpf/bpf-opts.h (enum bpf_asm_dialect): New type. + * config/bpf/bpf.cc (bpf_print_register): New function. + (bpf_print_register): Support pseudo-c syntax for registers. + (bpf_print_operand_address): Likewise. + * config/bpf/bpf.h (ASM_SPEC): handle -msasm. + (ASSEMBLER_DIALECT): Define. + * config/bpf/bpf.md: Added pseudo-c templates. + * doc/invoke.texi (-masm=): New eBPF option item. + +2023-07-21 Cupertino Miranda + + * config/bpf/bpf.md: fixed template for neg instruction. + +2023-07-21 Jan Hubicka + + PR target/110727 + * tree-vect-loop.cc (scale_profile_for_vect_loop): Avoid scaling flat + profiles by vectorization factor. + (vect_transform_loop): Check for flat profiles. + +2023-07-21 Jan Hubicka + + * cfgloop.h (maybe_flat_loop_profile): Declare + * cfgloopanal.cc (maybe_flat_loop_profile): New function. + * tree-cfg.cc (print_loop_info): Print info about flat profiles. + +2023-07-21 Jan Hubicka + + * cfgloop.cc (get_estimated_loop_iterations): Use sreal::to_nearest_int + * cfgloopanal.cc (expected_loop_iterations_unbounded): Likewise. + * predict.cc (estimate_bb_frequencies): Likewise. + * profile.cc (branch_prob): Likewise. + * tree-ssa-loop-niter.cc (estimate_numbers_of_iterations): Likewise + +2023-07-21 Iain Sandoe + + * config.in: Regenerate. + * config/darwin.h (DARWIN_LD_DEMANGLE): New. + (LINK_COMMAND_SPEC_A): Add demangle handling. + * configure: Regenerate. + * configure.ac: Detect linker support for '-demangle'. + +2023-07-21 Jan Hubicka + + * sreal.cc (sreal::to_nearest_int): New. + (sreal_verify_basics): Verify also to_nearest_int. + (verify_aritmetics): Likewise. + (sreal_verify_conversions): New. + (sreal_cc_tests): Call sreal_verify_conversions. + * sreal.h: (sreal::to_nearest_int): Declare + +2023-07-21 Jan Hubicka + + * tree-ssa-loop-ch.cc (enum ch_decision): New enum. + (should_duplicate_loop_header_p): Return info on profitability. + (do_while_loop_p): Watch for constant conditionals. + (update_profile_after_ch): Do not sanity check that all + static exits are taken. + (ch_base::copy_headers): Run on all loops. + (pass_ch::process_loop_p): Improve heuristics by handling also + do_while loop and duplicating shortest sequence containing all + winning blocks. + +2023-07-21 Jan Hubicka + + * tree-ssa-loop-niter.cc (finite_loop_p): Reorder to do cheap + tests first; update finite_p flag. + +2023-07-21 Jan Hubicka + + * cfgloop.cc (flow_loop_dump): Use print_loop_info. + * cfgloop.h (print_loop_info): Declare. + * tree-cfg.cc (print_loop_info): Break out from ...; add + printing of missing fields and profile + (print_loop): ... here. + +2023-07-21 Juzhe-Zhong + + * config/riscv/riscv-v.cc (expand_gather_scatter): Remove redundant variables. + +2023-07-21 Juzhe-Zhong + + * tree-vect-stmts.cc (check_load_store_for_partial_vectors): Change condition order. + (vectorizable_operation): Ditto. + +2023-07-21 Juzhe-Zhong + + * config/riscv/autovec.md: Align order of mask and len. + * config/riscv/riscv-v.cc (expand_load_store): Ditto. + (expand_gather_scatter): Ditto. + * doc/md.texi: Ditto. + * internal-fn.cc (add_len_and_mask_args): Ditto. + (add_mask_and_len_args): Ditto. + (expand_partial_load_optab_fn): Ditto. + (expand_partial_store_optab_fn): Ditto. + (expand_scatter_store_optab_fn): Ditto. + (expand_gather_load_optab_fn): Ditto. + (internal_fn_len_index): Ditto. + (internal_fn_mask_index): Ditto. + (internal_len_load_store_bias): Ditto. + * tree-vect-stmts.cc (vectorizable_store): Ditto. + (vectorizable_load): Ditto. + +2023-07-21 Juzhe-Zhong + + * config/riscv/autovec.md (len_maskload): Change LEN_MASK into MASK_LEN. + (mask_len_load): Ditto. + (len_maskstore): Ditto. + (mask_len_store): Ditto. + (len_mask_gather_load): Ditto. + (mask_len_gather_load): Ditto. + (len_mask_gather_load): Ditto. + (mask_len_gather_load): Ditto. + (len_mask_gather_load): Ditto. + (mask_len_gather_load): Ditto. + (len_mask_gather_load): Ditto. + (mask_len_gather_load): Ditto. + (len_mask_gather_load): Ditto. + (mask_len_gather_load): Ditto. + (len_mask_gather_load): Ditto. + (mask_len_gather_load): Ditto. + (len_mask_gather_load): Ditto. + (mask_len_gather_load): Ditto. + (len_mask_scatter_store): Ditto. + (mask_len_scatter_store): Ditto. + (len_mask_scatter_store): Ditto. + (mask_len_scatter_store): Ditto. + (len_mask_scatter_store): Ditto. + (mask_len_scatter_store): Ditto. + (len_mask_scatter_store): Ditto. + (mask_len_scatter_store): Ditto. + (len_mask_scatter_store): Ditto. + (mask_len_scatter_store): Ditto. + (len_mask_scatter_store): Ditto. + (mask_len_scatter_store): Ditto. + (len_mask_scatter_store): Ditto. + (mask_len_scatter_store): Ditto. + * doc/md.texi: Ditto. + * genopinit.cc (main): Ditto. + (CMP_NAME): Ditto. Ditto. + * gimple-fold.cc (arith_overflowed_p): Ditto. + (gimple_fold_partial_load_store_mem_ref): Ditto. + (gimple_fold_call): Ditto. + * internal-fn.cc (len_maskload_direct): Ditto. + (mask_len_load_direct): Ditto. + (len_maskstore_direct): Ditto. + (mask_len_store_direct): Ditto. + (expand_call_mem_ref): Ditto. + (expand_len_maskload_optab_fn): Ditto. + (expand_mask_len_load_optab_fn): Ditto. + (expand_len_maskstore_optab_fn): Ditto. + (expand_mask_len_store_optab_fn): Ditto. + (direct_len_maskload_optab_supported_p): Ditto. + (direct_mask_len_load_optab_supported_p): Ditto. + (direct_len_maskstore_optab_supported_p): Ditto. + (direct_mask_len_store_optab_supported_p): Ditto. + (internal_load_fn_p): Ditto. + (internal_store_fn_p): Ditto. + (internal_gather_scatter_fn_p): Ditto. + (internal_fn_len_index): Ditto. + (internal_fn_mask_index): Ditto. + (internal_fn_stored_value_index): Ditto. + (internal_len_load_store_bias): Ditto. + * internal-fn.def (LEN_MASK_GATHER_LOAD): Ditto. + (MASK_LEN_GATHER_LOAD): Ditto. + (LEN_MASK_LOAD): Ditto. + (MASK_LEN_LOAD): Ditto. + (LEN_MASK_SCATTER_STORE): Ditto. + (MASK_LEN_SCATTER_STORE): Ditto. + (LEN_MASK_STORE): Ditto. + (MASK_LEN_STORE): Ditto. + * optabs-query.cc (supports_vec_gather_load_p): Ditto. + (supports_vec_scatter_store_p): Ditto. + * optabs-tree.cc (target_supports_mask_load_store_p): Ditto. + (target_supports_len_load_store_p): Ditto. + * optabs.def (OPTAB_CD): Ditto. + * tree-ssa-alias.cc (ref_maybe_used_by_call_p_1): Ditto. + (call_may_clobber_ref_p_1): Ditto. + * tree-ssa-dse.cc (initialize_ao_ref_for_dse): Ditto. + (dse_optimize_stmt): Ditto. + * tree-ssa-loop-ivopts.cc (get_mem_type_for_internal_fn): Ditto. + (get_alias_ptr_type_for_ptr_address): Ditto. + * tree-vect-data-refs.cc (vect_gather_scatter_fn_p): Ditto. + * tree-vect-patterns.cc (vect_recog_gather_scatter_pattern): Ditto. + * tree-vect-stmts.cc (check_load_store_for_partial_vectors): Ditto. + (vect_get_strided_load_store_ops): Ditto. + (vectorizable_store): Ditto. + (vectorizable_load): Ditto. + +2023-07-21 Haochen Jiang + + * config/i386/i386.opt: Fix a typo. + +2023-07-21 Richard Biener + + PR tree-optimization/88540 + * tree-ssa-phiopt.cc (minmax_replacement): Do not give up + with NaNs but handle the simple case by if-converting to a + COND_EXPR. + +2023-07-21 Andrew Pinski + + * match.pd (minmax,a>->minmax): New + transformation. + +2023-07-21 Richard Biener + + PR tree-optimization/110742 + * tree-vect-slp.cc (vect_optimize_slp_pass::get_result_with_layout): + Do not materialize an edge permutation in an external node with + vector defs. + (vect_slp_analyze_node_operations_1): Guard purely internal + nodes better. + +2023-07-21 Jan Hubicka + + * cfgloop.cc: Include sreal.h. + (flow_loop_dump): Dump sreal iteration exsitmate. + (get_estimated_loop_iterations): Update. + * cfgloop.h (expected_loop_iterations_by_profile): Declare. + * cfgloopanal.cc (expected_loop_iterations_by_profile): New function. + (expected_loop_iterations_unbounded): Use new API. + * cfgloopmanip.cc (scale_loop_profile): Use + expected_loop_iterations_by_profile + * predict.cc (pass_profile::execute): Likewise. + * profile.cc (branch_prob): Likewise. + * tree-ssa-loop-niter.cc: Include sreal.h. + (estimate_numbers_of_iterations): Likewise + +2023-07-21 Kewen Lin + + PR tree-optimization/110744 + * tree-ssa-sccvn.cc (vn_reference_lookup_3): Correct the index of bias + operand for ifn IFN_LEN_STORE. + +2023-07-21 liuhongt + + PR target/89701 + * common.opt: (fcf-protection=): Add EnumSet attribute to + support combination of params. + +2023-07-21 David Malcolm + + PR middle-end/110612 + * text-art/table.cc (table_geometry::table_geometry): Drop m_table + field. + (table_geometry::table_x_to_canvas_x): Add cast to comparison. + (table_geometry::table_y_to_canvas_y): Likewise. + * text-art/table.h (table_geometry::m_table): Drop unused field. + * text-art/widget.h (wrapper_widget::update_child_alloc_rects): + Add "override". + 2023-07-20 Uros Bizjak PR target/110717 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 0e7d73c1914..05e1afb478c 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230721 +20230722 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index e75656859b0..fe0c628acc0 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,21 @@ +2023-07-21 David Malcolm + + PR analyzer/110455 + * region-model.cc (region_model::get_gassign_result): Only check + for bad shift counts when dealing with an integral type. + +2023-07-21 David Malcolm + + PR analyzer/110433 + PR middle-end/110612 + * access-diagram.cc (class spatial_item): Add virtual dtor. + +2023-07-21 David Malcolm + + PR analyzer/110387 + * region.h (struct cast_region::key_t): Support "m_type" being + null by using "m_original_region" for empty/deleted slots. + 2023-07-19 David Malcolm PR analyzer/110700 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index db9ce602f1a..107456d46c8 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2023-07-21 Marek Polacek + + PR c++/110106 + * constexpr.cc (potential_constant_expression_1): Try to complete the + type when !processing_template_decl. + 2023-07-20 Marek Polacek PR c++/110114 diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog index 6c3c001af99..571af08ada0 100644 --- a/gcc/po/ChangeLog +++ b/gcc/po/ChangeLog @@ -1,3 +1,7 @@ +2023-07-21 Joseph Myers + + * hr.po: Update. + 2023-05-09 Joseph Myers * hr.po: Update. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c52e8ae4c22..3a9d3906961 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,146 @@ +2023-07-21 John David Anglin + + * gcc.c-torture/compile/asmgoto-6.c: Require target lra. + +2023-07-21 Roger Sayle + Richard Biener + + PR c/110699 + * gcc.dg/pr110699.c: New test case. + +2023-07-21 Marek Polacek + + PR c++/110106 + * g++.dg/cpp0x/noexcept80.C: New test. + +2023-07-21 Jan Hubicka + + * gcc.dg/tree-ssa/copy-headers-9.c: Fix template for tree-ssa-loop-ch.cc changes. + * gcc.dg/tree-ssa/dce-1.c: Likewise. + +2023-07-21 Jan Hubicka + + * gcc.dg/loop-unswitch-17.c: Disable ch. + * gcc.dg/pr103079.c: Disable ch. + * gcc.dg/tree-ssa/copy-headers-7.c: Update so ch behaves + as expected. + * gcc.dg/tree-ssa/copy-headers.c: Update template. + * gcc.dg/tree-ssa/copy-headers-9.c: New test. + +2023-07-21 Richard Biener + + PR tree-optimization/41320 + * gcc.dg/tree-ssa/forwprop-12.c: Remove. + +2023-07-21 Jan Hubicka + + * gcc.dg/tree-ssa/dce-1.c: Update for new loop dumps. + +2023-07-21 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/gather-scatter/gather_load-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/gather_load-10.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/gather_load-11.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/gather_load-12.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/gather_load-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/gather_load-3.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/gather_load-4.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/gather_load-5.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/gather_load-6.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/gather_load-7.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/gather_load-8.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/gather_load-9.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load-10.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load-11.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load-3.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load-4.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load-5.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load-6.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load-7.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load-8.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load-9.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_scatter_store-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_scatter_store-10.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_scatter_store-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_scatter_store-3.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_scatter_store-4.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_scatter_store-5.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_scatter_store-6.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_scatter_store-7.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_scatter_store-8.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/mask_scatter_store-9.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/scatter_store-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/scatter_store-10.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/scatter_store-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/scatter_store-3.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/scatter_store-4.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/scatter_store-5.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/scatter_store-6.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/scatter_store-7.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/scatter_store-8.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/scatter_store-9.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/strided_load-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/strided_load-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/strided_store-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/gather-scatter/strided_store-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/partial/gimple_fold-1.c: Ditto. + +2023-07-21 Richard Biener + + PR tree-optimization/88540 + * gcc.target/i386/pr88540.c: New testcase. + * gcc.target/i386/pr54855-9.c: XFAIL check for redundant moves. + * gcc.target/i386/pr54855-12.c: Adjust. + * gcc.target/i386/pr54855-13.c: Likewise. + * gcc.target/i386/pr110170.c: Likewise. + * gcc.dg/tree-ssa/split-path-12.c: Likewise. + +2023-07-21 Andrew Pinski + + * gcc.dg/tree-ssa/reassoc-12.c: Disable all of + the passes that enables match-and-simplify. + * gcc.dg/tree-ssa/minmax-23.c: New test. + +2023-07-21 Richard Biener + + PR tree-optimization/110742 + * g++.dg/torture/pr110742.C: New testcase. + +2023-07-21 Kewen Lin + + PR testsuite/110729 + * gcc.dg/pr110729.c: New test. + +2023-07-21 liuhongt + + * c-c++-common/fcf-protection-10.c: New test. + * c-c++-common/fcf-protection-11.c: New test. + * c-c++-common/fcf-protection-12.c: New test. + * c-c++-common/fcf-protection-8.c: New test. + * c-c++-common/fcf-protection-9.c: New test. + * gcc.target/i386/pr89701-1.c: New test. + * gcc.target/i386/pr89701-2.c: New test. + * gcc.target/i386/pr89701-3.c: New test. + +2023-07-21 liuhongt + + * gcc.dg/pr107547.c: Add { dg-add-options float16 }. + * gcc.target/i386/float16-7.c: Add -msse2 to dg-options. + * lib/target-supports.exp (add_options_for_float16): Add + -msse2 for i?86-*-* || x86_64-*-*. + +2023-07-21 David Malcolm + + PR analyzer/110455 + * gcc.dg/analyzer/pr110455.c: New test. + +2023-07-21 David Malcolm + + PR analyzer/110387 + * gcc.dg/analyzer/out-of-bounds-pr110387.c: New test. + 2023-07-20 Gaius Mulley * gm2/switches/uninit-variable-checking/procedures/fail/testdispose3.mod: New test. diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 3ee73b9b42a..e780c66c3f6 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,12 @@ +2023-07-21 Andrew Pinski + + PR libfortran/110759 + * ieee/ieee_arithmetic.F90 + (COMP_INTERFACE): Remove the comma after EXPAND_INTER_MACRO_16 + and EXPAND_INTER_MACRO_10. + (EXPAND_INTER_MACRO_16): Add comma here if 16 byte fp exist. + (EXPAND_INTER_MACRO_10): Likewise. + 2023-07-20 Francois-Xavier Coudert * ieee/ieee_arithmetic.F90: Add IEEE_QUIET_* and