]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 31 Aug 2023 00:19:44 +0000 (00:19 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 31 Aug 2023 00:19:44 +0000 (00:19 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/analyzer/ChangeLog
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog

index 68fff3560f39f78be801a7278730e4ed9baeb4c2..f1712ce74d9702c7ef7069acdf938d4dfe1ca196 100644 (file)
@@ -1,3 +1,169 @@
+2023-08-30  Dimitar Dimitrov  <dimitar@dinux.eu>
+
+       PR target/106562
+       * config/pru/predicates.md (const_0_operand): New predicate.
+       (pru_cstore_comparison_operator): Ditto.
+       * config/pru/pru.md (cstore<mode>4): New pattern.
+       (cstoredi4): Ditto.
+
+2023-08-30  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/111228
+       * match.pd ((vec_perm (vec_perm ..) @5 ..) -> (vec_perm @x @5 ..)):
+       New simplifications.
+
+2023-08-30  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * config/riscv/autovec.md (movmisalign<mode>): Delete.
+
+2023-08-30  Die Li  <lidie@eswincomputing.com>
+           Fei Gao  <gaofei@eswincomputing.com>
+
+       * 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<X:mode>): New pattern.
+       (*mvsa01<X:mode>): New pattern.
+
+2023-08-30  Fei Gao  <gaofei@eswincomputing.com>
+
+       * 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_<mode>): md for popretz ra
+       (@gpr_multi_popretz_up_to_s0_<mode>): md for popretz ra, s0
+       (@gpr_multi_popretz_up_to_s1_<mode>): likewise
+       (@gpr_multi_popretz_up_to_s2_<mode>): likewise
+       (@gpr_multi_popretz_up_to_s3_<mode>): likewise
+       (@gpr_multi_popretz_up_to_s4_<mode>): likewise
+       (@gpr_multi_popretz_up_to_s5_<mode>): likewise
+       (@gpr_multi_popretz_up_to_s6_<mode>): likewise
+       (@gpr_multi_popretz_up_to_s7_<mode>): likewise
+       (@gpr_multi_popretz_up_to_s8_<mode>): likewise
+       (@gpr_multi_popretz_up_to_s9_<mode>): likewise
+       (@gpr_multi_popretz_up_to_s11_<mode>): likewise
+
+2023-08-30  Fei Gao  <gaofei@eswincomputing.com>
+
+       * 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  <jakub@redhat.com>
+
+       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  <jakub@redhat.com>
+
+       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  <juzhe.zhong@rivai.ai>
+
+       * 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  <juzhe.zhong@rivai.ai>
+
+       * config/riscv/riscv-vsetvl.cc
+       (vector_insn_info::get_avl_or_vl_reg): Fix bug.
+
+2023-08-30  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * config/riscv/autovec-vls.md (movmisalign<mode>): New pattern.
+       * config/riscv/riscv.cc (riscv_support_vector_misalignment): Support
+       VLS misalign.
+
 2023-08-29  Philipp Tomsich  <philipp.tomsich@vrull.eu>
 
        * config/riscv/zicond.md: New splitters to rewrite single bit
index 0e0e43a0354ce37cf9aefa294814427d7840a347..86bc2a9aa08344bef30bac8e5eed63d116801e54 100644 (file)
@@ -1 +1 @@
-20230830
+20230831
index bd9a766f8c028aad35bb9addf3d8bff0a8465899..b113b414447029233ab6685d44d45a440fe74133 100644 (file)
@@ -1,3 +1,20 @@
+2023-08-30  Eric Feng  <ef2648@columbia.edu>
+
+       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  <fxcoudert@gcc.gnu.org>
+
+       * region-model.cc: Define INCLUDE_ALGORITHM.
+
 2023-08-29  David Malcolm  <dmalcolm@redhat.com>
 
        PR analyzer/99860
index ece1bf90afa24813612a344d4a253523ef880518..320e88966b5b93c575c9e28cfa11cbf680f544e6 100644 (file)
@@ -1,3 +1,14 @@
+2023-08-30  Marek Polacek  <polacek@redhat.com>
+
+       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  <polacek@redhat.com>
+
+       PR c++/111173
+       * decl.cc (grokdeclarator): Disallow constinit on functions.
+
 2023-08-29  Marek Polacek  <polacek@redhat.com>
 
        * call.cc (convert_like_internal): Show where the conversion function
index 3b0057d3234d71fd44b3a387e0b717321fff8667..e11ed91eb0ed5a0ef7964ed5bd20ee5fe674b442 100644 (file)
@@ -1,3 +1,20 @@
+2023-08-30  Mikael Morin  <mikael@gcc.gnu.org>
+
+       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  <pault@gcc.gnu.org>
 
        PR fortran/92586
index c7db53a02b4655c6e0fa45554c18f24a15718938..a2c63cb4fc06f7a2e8247fdb86428dee39a89dc4 100644 (file)
@@ -1,3 +1,112 @@
+2023-08-30  Eric Feng  <ef2648@columbia.edu>
+
+       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  <dimitar@dinux.eu>
+
+       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  <polacek@redhat.com>
+
+       PR c++/91319
+       * g++.dg/cpp2a/desig30.C: New test.
+
+2023-08-30  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/111173
+       * g++.dg/cpp2a/constinit19.C: New test.
+
+2023-08-30  Richard Biener  <rguenther@suse.de>
+
+       * gcc.dg/tree-ssa/forwprop-42.c: Use __UINT64_TYPE__ instead
+       of unsigned long.
+
+2023-08-30  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * gcc.dg/vect/slp-reduc-7.c: Add RVV.
+
+2023-08-30  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * gcc.dg/vect/slp-26.c: Adapt for RVV.
+
+2023-08-30  Mikael Morin  <mikael@gcc.gnu.org>
+
+       PR fortran/48776
+       * gfortran.dg/interface_procedure_1.f90: New test.
+
+2023-08-30  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/111228
+       * gcc.dg/tree-ssa/forwprop-42.c: New testcase.
+
+2023-08-30  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * 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  <juzhe.zhong@rivai.ai>
+
+       * 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  <lidie@eswincomputing.com>
+           Fei Gao  <gaofei@eswincomputing.com>
+
+       * gcc.target/riscv/cm_mv_rv32.c: New test.
+
+2023-08-30  Fei Gao  <gaofei@eswincomputing.com>
+
+       * 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  <gaofei@eswincomputing.com>
+
+       * 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  <jakub@redhat.com>
+
+       PR tree-optimization/110914
+       * gcc.c-torture/execute/pr110914.c: New test.
+
+2023-08-30  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/111015
+       * gcc.dg/pr111015.c: New test.
+
+2023-08-30  Tsukasa OI  <research_trasio@irq.a4lg.com>
+
+       * gcc.target/riscv/arch-24.c: Test RV32I+Zcf instead.
+
+2023-08-30  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * gcc.target/riscv/rvv/autovec/vls/misalign-1.c: New test.
+
 2023-08-29  Philipp Tomsich  <philipp.tomsich@vrull.eu>
 
        * gcc.target/riscv/zicond-xor-01.c: New test.