From ffb8568abb2b21bb1b82b9f684794fa34804c84d Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Thu, 31 Aug 2023 00:19:44 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 166 ++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 17 ++++ gcc/cp/ChangeLog | 11 +++ gcc/fortran/ChangeLog | 17 ++++ gcc/testsuite/ChangeLog | 109 ++++++++++++++++++++++++++ 6 files changed, 321 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 68fff3560f39..f1712ce74d97 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,169 @@ +2023-08-30 Dimitar Dimitrov + + PR target/106562 + * config/pru/predicates.md (const_0_operand): New predicate. + (pru_cstore_comparison_operator): Ditto. + * config/pru/pru.md (cstore4): New pattern. + (cstoredi4): Ditto. + +2023-08-30 Richard Biener + + PR tree-optimization/111228 + * match.pd ((vec_perm (vec_perm ..) @5 ..) -> (vec_perm @x @5 ..)): + New simplifications. + +2023-08-30 Juzhe-Zhong + + * config/riscv/autovec.md (movmisalign): Delete. + +2023-08-30 Die Li + Fei Gao + + * config/riscv/peephole.md: New pattern. + * config/riscv/predicates.md (a0a1_reg_operand): New predicate. + (zcmp_mv_sreg_operand): New predicate. + * config/riscv/riscv.md: New predicate. + * config/riscv/zc.md (*mva01s): New pattern. + (*mvsa01): New pattern. + +2023-08-30 Fei Gao + + * config/riscv/riscv.cc + (riscv_zcmp_can_use_popretz): true if popretz can be used + (riscv_gen_multi_pop_insn): interface to generate cm.pop[ret][z] + (riscv_expand_epilogue): expand cm.pop[ret][z] in epilogue + * config/riscv/riscv.md: define A0_REGNUM + * config/riscv/zc.md + (@gpr_multi_popretz_up_to_ra_): md for popretz ra + (@gpr_multi_popretz_up_to_s0_): md for popretz ra, s0 + (@gpr_multi_popretz_up_to_s1_): likewise + (@gpr_multi_popretz_up_to_s2_): likewise + (@gpr_multi_popretz_up_to_s3_): likewise + (@gpr_multi_popretz_up_to_s4_): likewise + (@gpr_multi_popretz_up_to_s5_): likewise + (@gpr_multi_popretz_up_to_s6_): likewise + (@gpr_multi_popretz_up_to_s7_): likewise + (@gpr_multi_popretz_up_to_s8_): likewise + (@gpr_multi_popretz_up_to_s9_): likewise + (@gpr_multi_popretz_up_to_s11_): likewise + +2023-08-30 Fei Gao + + * config/riscv/iterators.md + (slot0_offset): slot 0 offset in stack GPRs area in bytes + (slot1_offset): slot 1 offset in stack GPRs area in bytes + (slot2_offset): likewise + (slot3_offset): likewise + (slot4_offset): likewise + (slot5_offset): likewise + (slot6_offset): likewise + (slot7_offset): likewise + (slot8_offset): likewise + (slot9_offset): likewise + (slot10_offset): likewise + (slot11_offset): likewise + (slot12_offset): likewise + * config/riscv/predicates.md + (stack_push_up_to_ra_operand): predicates of stack adjust pushing ra + (stack_push_up_to_s0_operand): predicates of stack adjust pushing ra, s0 + (stack_push_up_to_s1_operand): likewise + (stack_push_up_to_s2_operand): likewise + (stack_push_up_to_s3_operand): likewise + (stack_push_up_to_s4_operand): likewise + (stack_push_up_to_s5_operand): likewise + (stack_push_up_to_s6_operand): likewise + (stack_push_up_to_s7_operand): likewise + (stack_push_up_to_s8_operand): likewise + (stack_push_up_to_s9_operand): likewise + (stack_push_up_to_s11_operand): likewise + (stack_pop_up_to_ra_operand): predicates of stack adjust poping ra + (stack_pop_up_to_s0_operand): predicates of stack adjust poping ra, s0 + (stack_pop_up_to_s1_operand): likewise + (stack_pop_up_to_s2_operand): likewise + (stack_pop_up_to_s3_operand): likewise + (stack_pop_up_to_s4_operand): likewise + (stack_pop_up_to_s5_operand): likewise + (stack_pop_up_to_s6_operand): likewise + (stack_pop_up_to_s7_operand): likewise + (stack_pop_up_to_s8_operand): likewise + (stack_pop_up_to_s9_operand): likewise + (stack_pop_up_to_s11_operand): likewise + * config/riscv/riscv-protos.h + (riscv_zcmp_valid_stack_adj_bytes_p):declaration + * config/riscv/riscv.cc (struct riscv_frame_info): comment change + (riscv_avoid_multi_push): helper function of riscv_use_multi_push + (riscv_use_multi_push): true if multi push is used + (riscv_multi_push_sregs_count): num of sregs in multi-push + (riscv_multi_push_regs_count): num of regs in multi-push + (riscv_16bytes_align): align to 16 bytes + (riscv_stack_align): moved to a better place + (riscv_save_libcall_count): no functional change + (riscv_compute_frame_info): add zcmp frame info + (riscv_for_each_saved_reg): save or restore fprs in specified slot for zcmp + (riscv_adjust_multi_push_cfi_prologue): adjust cfi for cm.push + (riscv_gen_multi_push_pop_insn): gen function for multi push and pop + (get_multi_push_fpr_mask): get mask for the fprs pushed by cm.push + (riscv_expand_prologue): allocate stack by cm.push + (riscv_adjust_multi_pop_cfi_epilogue): adjust cfi for cm.pop[ret] + (riscv_expand_epilogue): allocate stack by cm.pop[ret] + (zcmp_base_adj): calculate stack adjustment base size + (zcmp_additional_adj): calculate stack adjustment additional size + (riscv_zcmp_valid_stack_adj_bytes_p): check if stack adjustment valid + * config/riscv/riscv.h (RETURN_ADDR_MASK): mask of ra + (S0_MASK): likewise + (S1_MASK): likewise + (S2_MASK): likewise + (S3_MASK): likewise + (S4_MASK): likewise + (S5_MASK): likewise + (S6_MASK): likewise + (S7_MASK): likewise + (S8_MASK): likewise + (S9_MASK): likewise + (S10_MASK): likewise + (S11_MASK): likewise + (MULTI_PUSH_GPR_MASK): GPR_MASK that cm.push can cover at most + (ZCMP_MAX_SPIMM): max spimm value + (ZCMP_SP_INC_STEP): zcmp sp increment step + (ZCMP_INVALID_S0S10_SREGS_COUNTS): num of s0-s10 + (ZCMP_S0S11_SREGS_COUNTS): num of s0-s11 + (ZCMP_MAX_GRP_SLOTS): max slots of pushing and poping in zcmp + (CALLEE_SAVED_FREG_NUMBER): get x of fsx(fs0 ~ fs11) + * config/riscv/riscv.md: include zc.md + * config/riscv/zc.md: New file. machine description for zcmp + +2023-08-30 Jakub Jelinek + + PR tree-optimization/110914 + * tree-ssa-strlen.cc (strlen_pass::handle_builtin_memcpy): Don't call + adjust_last_stmt unless len is known constant. + +2023-08-30 Jakub Jelinek + + PR tree-optimization/111015 + * gimple-ssa-store-merging.cc + (imm_store_chain_info::output_merged_store): Use wi::mask and + wide_int_to_tree instead of unsigned HOST_WIDE_INT shift and + build_int_cst to build BIT_AND_EXPR mask. + +2023-08-30 Juzhe-Zhong + + * tree-ssa-alias.cc (ref_maybe_used_by_call_p_1): Add MASK_LEN_ variant. + (call_may_clobber_ref_p_1): Ditto. + * tree-ssa-loop-ivopts.cc (get_mem_type_for_internal_fn): Ditto. + (get_alias_ptr_type_for_ptr_address): Ditto. + +2023-08-30 Juzhe-Zhong + + * config/riscv/riscv-vsetvl.cc + (vector_insn_info::get_avl_or_vl_reg): Fix bug. + +2023-08-30 Juzhe-Zhong + + * config/riscv/autovec-vls.md (movmisalign): New pattern. + * config/riscv/riscv.cc (riscv_support_vector_misalignment): Support + VLS misalign. + 2023-08-29 Philipp Tomsich * config/riscv/zicond.md: New splitters to rewrite single bit diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 0e0e43a0354c..86bc2a9aa083 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230830 +20230831 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index bd9a766f8c02..b113b4144470 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,20 @@ +2023-08-30 Eric Feng + + PR analyzer/107646 + * engine.cc (impl_region_model_context::warn): New optional + parameter. + * exploded-graph.h (class impl_region_model_context): Likewise. + * region-model.cc (region_model::pop_frame): New callback + feature for region_model::pop_frame. + * region-model.h (struct append_regions_cb_data): Likewise. + (class region_model): Likewise. + (class region_model_context): New optional parameter. + (class region_model_context_decorator): Likewise. + +2023-08-30 Francois-Xavier Coudert + + * region-model.cc: Define INCLUDE_ALGORITHM. + 2023-08-29 David Malcolm PR analyzer/99860 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ece1bf90afa2..320e88966b5b 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,14 @@ +2023-08-30 Marek Polacek + + PR c++/91319 + * parser.cc (cp_parser_initializer_list): Set CONSTRUCTOR_IS_DIRECT_INIT + when the designated initializer is of the .x{} form. + +2023-08-30 Marek Polacek + + PR c++/111173 + * decl.cc (grokdeclarator): Disallow constinit on functions. + 2023-08-29 Marek Polacek * call.cc (convert_like_internal): Show where the conversion function diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 3b0057d3234d..e11ed91eb0ed 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,20 @@ +2023-08-30 Mikael Morin + + PR fortran/48776 + * gfortran.h (gfc_drop_interface_elements_before): New prototype. + (gfc_current_interface_head): Return a reference to the pointer. + * interface.cc (gfc_current_interface_head): Ditto. + (free_interface_elements_until): New function, generalizing + gfc_free_interface. + (gfc_free_interface): Use free_interface_elements_until. + (gfc_drop_interface_elements_before): New function. + * parse.cc + (current_interface_ptr, previous_interface_head): New static variables. + (current_interface_valid_p, get_current_interface_ptr): New functions. + (decode_statement): Initialize previous_interface_head. + (reject_statement): Restore current interface pointer to point to + previous_interface_head. + 2023-08-26 Paul Thomas PR fortran/92586 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c7db53a02b46..a2c63cb4fc06 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,112 @@ +2023-08-30 Eric Feng + + PR analyzer/107646 + * gcc.dg/plugin/analyzer_cpython_plugin.c: Implements reference + count checking for PyObjects. + * gcc.dg/plugin/cpython-plugin-test-2.c: Moved to... + * gcc.dg/plugin/cpython-plugin-test-PyList_Append.c: ...here + (and added more tests). + * gcc.dg/plugin/cpython-plugin-test-1.c: Moved to... + * gcc.dg/plugin/cpython-plugin-test-no-Python-h.c: ...here (and + added more tests). + * gcc.dg/plugin/plugin.exp: New tests. + * gcc.dg/plugin/cpython-plugin-test-PyList_New.c: New test. + * gcc.dg/plugin/cpython-plugin-test-PyLong_FromLong.c: New test. + +2023-08-30 Dimitar Dimitrov + + PR target/106562 + * gcc.target/pru/pr106562-10.c: New test. + * gcc.target/pru/pr106562-11.c: New test. + * gcc.target/pru/pr106562-5.c: New test. + * gcc.target/pru/pr106562-6.c: New test. + * gcc.target/pru/pr106562-7.c: New test. + * gcc.target/pru/pr106562-8.c: New test. + * gcc.target/pru/pr106562-9.c: New test. + +2023-08-30 Marek Polacek + + PR c++/91319 + * g++.dg/cpp2a/desig30.C: New test. + +2023-08-30 Marek Polacek + + PR c++/111173 + * g++.dg/cpp2a/constinit19.C: New test. + +2023-08-30 Richard Biener + + * gcc.dg/tree-ssa/forwprop-42.c: Use __UINT64_TYPE__ instead + of unsigned long. + +2023-08-30 Juzhe-Zhong + + * gcc.dg/vect/slp-reduc-7.c: Add RVV. + +2023-08-30 Juzhe-Zhong + + * gcc.dg/vect/slp-26.c: Adapt for RVV. + +2023-08-30 Mikael Morin + + PR fortran/48776 + * gfortran.dg/interface_procedure_1.f90: New test. + +2023-08-30 Richard Biener + + PR tree-optimization/111228 + * gcc.dg/tree-ssa/forwprop-42.c: New testcase. + +2023-08-30 Juzhe-Zhong + + * gcc.dg/vect/vect-double-reduc-5.c: Add riscv. + * gcc.dg/vect/vect-outer-4e.c: Ditto. + * gcc.dg/vect/vect-outer-4f.c: Ditto. + * gcc.dg/vect/vect-outer-4g.c: Ditto. + * gcc.dg/vect/vect-outer-4k.c: Ditto. + * gcc.dg/vect/vect-outer-4l.c: Ditto. + +2023-08-30 Juzhe-Zhong + + * gcc.dg/vect/pr88598-1.c: Add riscv_vector. + * gcc.dg/vect/pr88598-2.c: Ditto. + * gcc.dg/vect/pr88598-3.c: Ditto. + +2023-08-30 Die Li + Fei Gao + + * gcc.target/riscv/cm_mv_rv32.c: New test. + +2023-08-30 Fei Gao + + * gcc.target/riscv/rv32e_zcmp.c: add testcase for cm.popretz in rv32e + * gcc.target/riscv/rv32i_zcmp.c: add testcase for cm.popretz in rv32i + +2023-08-30 Fei Gao + + * gcc.target/riscv/rv32e_zcmp.c: New test. + * gcc.target/riscv/rv32i_zcmp.c: New test. + * gcc.target/riscv/zcmp_push_fpr.c: New test. + * gcc.target/riscv/zcmp_stack_alignment.c: New test. + +2023-08-30 Jakub Jelinek + + PR tree-optimization/110914 + * gcc.c-torture/execute/pr110914.c: New test. + +2023-08-30 Jakub Jelinek + + PR tree-optimization/111015 + * gcc.dg/pr111015.c: New test. + +2023-08-30 Tsukasa OI + + * gcc.target/riscv/arch-24.c: Test RV32I+Zcf instead. + +2023-08-30 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/vls/misalign-1.c: New test. + 2023-08-29 Philipp Tomsich * gcc.target/riscv/zicond-xor-01.c: New test. -- 2.47.2