https://gcc.gnu.org/g:6b6a056891efbcb87af270c6cd9995e21c0326ad
commit r14-10479-g6b6a056891efbcb87af270c6cd9995e21c0326ad Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Sat Jul 20 00:22:33 2024 +0000 Daily bump. Diff: --- gcc/ChangeLog | 120 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 12 +++++ gcc/fortran/ChangeLog | 61 ++++++++++++++++++++++++ gcc/rust/ChangeLog | 8 ++++ gcc/testsuite/ChangeLog | 103 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 305 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dfc0380aadf1..5f1f8bd4d254 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,123 @@ +2024-07-19 René Rebe <r...@exactcode.de> + + Backported from master: + 2024-07-18 René Rebe <r...@exactcode.de> + Peter Bergner <berg...@linux.ibm.com> + + PR target/97367 + * config/rs6000/rs6000.cc (rs6000_machine_from_flags): Do not consider + OPTION_MASK_ALTIVEC. + (emit_asm_machine): For Altivec compiles, emit a ".machine altivec". + +2024-07-19 Daniel Bertalan <d...@danielbertalan.dev> + + Backported from master: + 2024-07-12 Daniel Bertalan <d...@danielbertalan.dev> + + * value-pointer-equiv.cc: Change NULL to nullptr. + +2024-07-19 Robin Dapp <rd...@ventanamicro.com> + + Backported from master: + 2024-05-31 Robin Dapp <rd...@ventanamicro.com> + + * config/riscv/vector.md: Split vwadd.wx/vwsub.wx pattern and + add extended_scalar patterns. + +2024-07-19 Robin Dapp <rd...@ventanamicro.com> + + Backported from master: + 2024-05-31 Robin Dapp <rd...@ventanamicro.com> + + PR target/115068 + * config/riscv/vector.md: Split vfw<insn>.wf pattern. + +2024-07-19 Fangrui Song <mask...@gcc.gnu.org> + + Backported from master: + 2024-04-27 Fangrui Song <mask...@gcc.gnu.org> + + * config/riscv/elf.h (LINK_SPEC): Add -X. + * config/riscv/freebsd.h (LINK_SPEC): Add -X. + * config/riscv/linux.h (LINK_SPEC): Add -X. + +2024-07-19 Christoph Müllner <christoph.muell...@vrull.eu> + + Backported from master: + 2024-04-29 Christoph Müllner <christoph.muell...@vrull.eu> + + * common/config/riscv/riscv-common.cc: Move ziccamoa, ziccif, + zicclsm, and ziccrse into riscv_zi_subext. + * config/riscv/riscv.opt: Define MASK_ZIC64B for + riscv_ziccmo_subext. + +2024-07-19 Pan Li <pan2...@intel.com> + + Backported from master: + 2024-05-13 Pan Li <pan2...@intel.com> + + PR target/114988 + * config/riscv/riscv-vector-builtins.cc + (validate_instance_type_required_extensions): New func impl to + validate the intrinisc func type ops. + (expand_builtin): Validate instance type before expand. + +2024-07-19 Liao Shihua <shi...@iscas.ac.cn> + + Backported from master: + 2024-05-27 Liao Shihua <shi...@iscas.ac.cn> + + * config/riscv/riscv.cc (riscv_rtx_costs): Add TARGET_ZMMUL. + +2024-07-19 Pan Li <pan2...@intel.com> + + Backported from master: + 2024-06-14 Pan Li <pan2...@intel.com> + + PR target/115456 + * config/riscv/vector-iterators.md: Leverage V_ZVFH instead of V + which contains the VF_ZVFHMIN for alignment. + +2024-07-19 Pan Li <pan2...@intel.com> + + Backported from master: + 2024-06-13 Pan Li <pan2...@intel.com> + + PR target/115456 + * config/riscv/autovec.md: Take ZVFH mode iterator instead of + the ZVFHMIN for the alignment. + * config/riscv/vector-iterators.md: Add 2 new iterator + V_VLS_ZVFH and VLS_ZVFH. + +2024-07-19 Artemiy Volkov <artemiy.vol...@synopsys.com> + + Backported from master: + 2024-06-23 Artemiy Volkov <artemiy.vol...@synopsys.com> + + * config/riscv/riscv.cc (riscv_expand_conditional_move): Add a + CONST0_RTX check. + +2024-07-19 Robin Dapp <rd...@ventanamicro.com> + + Backported from master: + 2024-07-05 Robin Dapp <rd...@ventanamicro.com> + + * config/riscv/autovec.md: Add TU policy. + * config/riscv/riscv-protos.h (enum insn_type): Define + SCALAR_MOVE_MERGED_OP_TU. + +2024-07-19 Fei Gao <gao...@eswincomputing.com> + + Backported from master: + 2024-07-08 Fei Gao <gao...@eswincomputing.com> + + * common/config/riscv/riscv-common.cc (riscv_subset_list::riscv_subset_list): + init m_subset_num to 0. + (riscv_subset_list::add): increase m_subset_num once a subset added. + (riscv_subset_list::finalize): call handle_implied_ext repeatly + until no change in m_subset_num. + * config/riscv/riscv-subset.h: add m_subset_num member. + 2024-07-18 Marek Polacek <pola...@redhat.com> Backported from master: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 92d0274c3c6f..6c93b259fd65 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240719 +20240720 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index b2727e5afcd5..fdf6e90de586 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,15 @@ +2024-07-19 Daniel Bertalan <d...@danielbertalan.dev> + + Backported from master: + 2024-07-12 Daniel Bertalan <d...@danielbertalan.dev> + + * diagnostic-manager.cc (saved_diagnostic::saved_diagnostic): + Change NULL to nullptr. + (struct null_assignment_sm_context): Likewise. + * infinite-loop.cc: Likewise. + * infinite-recursion.cc: Likewise. + * varargs.cc (va_list_state_machine::on_leak): Likewise. + 2024-07-18 David Malcolm <dmalc...@redhat.com> Backported from master: diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index a2a37beb61de..b40a9bde5fff 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,64 @@ +2024-07-19 Paul Thomas <pa...@gcc.gnu.org> + + Backported from master: + 2024-05-13 Paul Thomas <pa...@gcc.gnu.org> + + PR fortran/113363 + * trans-array.cc (gfc_array_init_size): Use the expr3 dtype so + that the correct element size is used. + * trans-expr.cc (gfc_conv_procedure_call): Remove restriction + that ss and ss->loop be present for the finalization of class + array function results. + (trans_class_assignment): Use free and malloc, rather than + realloc, for character expressions assigned to unlimited poly + entities. + * trans-stmt.cc (gfc_trans_allocate): Build a correct rhs for + the assignment of an unlimited polymorphic 'source'. + +2024-07-19 Paul Thomas <pa...@gcc.gnu.org> + + Backported from master: + 2024-06-20 Paul Thomas <pa...@gcc.gnu.org> + + PR fortran/59104 + * dependency.cc (dependency_fcn, gfc_function_dependency): New + functions to detect dependency in array bounds and character + lengths on old style function results. + * dependency.h : Add prototype for gfc_function_dependency. + * error.cc (error_print): Remove trailing space. + * gfortran.h : Remove dummy_order and add fn_result_spec. + * symbol.cc : Remove declaration of next_dummy_order.. + (gfc_set_sym_referenced): remove setting of symbol dummy order. + * trans-array.cc (gfc_trans_auto_array_allocation): Detect + non-dummy symbols with function dependencies and put the + allocation at the end of the initialization code. + * trans-decl.cc : Include dependency.h. + (decl_order): New function that determines uses the location + field of the symbol 'declared_at' to determine the order of two + declarations. + (gfc_defer_symbol_init): Call gfc_function_dependency to put + dependent symbols in the right part of the tlink chain. Use + the location field of the symbol declared_at to determine the + order of declarations. + (gfc_trans_auto_character_variable): Put character length + initialization of dependent symbols at the end of the chain. + * trans.cc (gfc_add_init_cleanup): Add boolean argument with + default false that determines whther an expression is placed at + the back or the front of the initialization chain. + * trans.h : Update the prototype for gfc_add_init_cleanup. + +2024-07-19 Harald Anlauf <anl...@gmx.de> + + Backported from master: + 2024-07-19 Harald Anlauf <anl...@gmx.de> + + PR fortran/103115 + * trans-array.cc (gfc_trans_array_constructor_value): If the first + element of an array constructor is deferred-length character and + therefore does not have an element size known at compile time, do + not try to collect subsequent constant elements into a constructor + for optimization. + 2024-07-15 Harald Anlauf <anl...@gmx.de> Backported from master: diff --git a/gcc/rust/ChangeLog b/gcc/rust/ChangeLog index f50b3fb09204..92a2ec1a82fa 100644 --- a/gcc/rust/ChangeLog +++ b/gcc/rust/ChangeLog @@ -1,3 +1,11 @@ +2024-07-19 Daniel Bertalan <d...@danielbertalan.dev> + + Backported from master: + 2024-07-12 Daniel Bertalan <d...@danielbertalan.dev> + + * metadata/rust-imports.cc (Import::try_package_in_directory): + Change NULL to nullptr. + 2024-05-07 Release Manager * GCC 14.1.0 released. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4b65b61ff48a..61402c700025 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,106 @@ +2024-07-19 Paul Thomas <pa...@gcc.gnu.org> + + Backported from master: + 2024-05-13 Paul Thomas <pa...@gcc.gnu.org> + + PR fortran/113363 + * gfortran.dg/pr113363.f90: New test. + +2024-07-19 Paul Thomas <pa...@gcc.gnu.org> + + Backported from master: + 2024-06-20 Paul Thomas <pa...@gcc.gnu.org> + + PR fortran/59104 + * gfortran.dg/dependent_decls_2.f90: New test. + +2024-07-19 René Rebe <r...@exactcode.de> + + Backported from master: + 2024-07-18 René Rebe <r...@exactcode.de> + Peter Bergner <berg...@linux.ibm.com> + + PR target/97367 + * gcc.target/powerpc/pr97367.c: New test. + +2024-07-19 Harald Anlauf <anl...@gmx.de> + + Backported from master: + 2024-07-19 Harald Anlauf <anl...@gmx.de> + + PR fortran/103115 + * gfortran.dg/string_array_constructor_4.f90: New test. + +2024-07-19 Robin Dapp <rd...@ventanamicro.com> + + Backported from master: + 2024-05-31 Robin Dapp <rd...@ventanamicro.com> + + * gcc.target/riscv/rvv/base/pr115068.c: Add vwadd.wx/vwsub.wx + tests. + * gcc.target/riscv/rvv/base/pr115068-run.c: Include pr115068.c. + * gcc.target/riscv/rvv/base/vwaddsub-1.c: New test. + +2024-07-19 Robin Dapp <rd...@ventanamicro.com> + + Backported from master: + 2024-05-31 Robin Dapp <rd...@ventanamicro.com> + + * gcc.target/riscv/rvv/base/pr115068-run.c: New test. + * gcc.target/riscv/rvv/base/pr115068.c: New test. + +2024-07-19 Pan Li <pan2...@intel.com> + + Backported from master: + 2024-05-13 Pan Li <pan2...@intel.com> + + PR target/114988 + * gcc.target/riscv/rvv/base/pr114988-1.c: New test. + * gcc.target/riscv/rvv/base/pr114988-2.c: New test. + +2024-07-19 Liao Shihua <shi...@iscas.ac.cn> + + Backported from master: + 2024-05-27 Liao Shihua <shi...@iscas.ac.cn> + + * gcc.target/riscv/zmmul-3.c: New test. + +2024-07-19 Pan Li <pan2...@intel.com> + + Backported from master: + 2024-06-14 Pan Li <pan2...@intel.com> + + PR target/115456 + * gcc.target/riscv/rvv/base/pr115456-2.c: New test. + * gcc.target/riscv/rvv/base/pr115456-3.c: New test. + +2024-07-19 Pan Li <pan2...@intel.com> + + Backported from master: + 2024-06-13 Pan Li <pan2...@intel.com> + + PR target/115456 + * gcc.target/riscv/rvv/base/pr115456-1.c: New test. + +2024-07-19 Artemiy Volkov <artemiy.vol...@synopsys.com> + + Backported from master: + 2024-06-23 Artemiy Volkov <artemiy.vol...@synopsys.com> + + * gcc.target/riscv/zicond-ice-5.c: New test. + +2024-07-19 Robin Dapp <rd...@ventanamicro.com> + + Backported from master: + 2024-07-05 Robin Dapp <rd...@ventanamicro.com> + + PR target/115725 + * gcc.target/riscv/rvv/autovec/vls-vlmax/vec_set-1.c: Adjust + test expectation. + * gcc.target/riscv/rvv/autovec/vls-vlmax/vec_set-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/vls-vlmax/vec_set-3.c: Ditto. + * gcc.target/riscv/rvv/autovec/vls-vlmax/vec_set-4.c: Ditto. + 2024-07-18 Marek Polacek <pola...@redhat.com> Backported from master: