https://gcc.gnu.org/g:6f8933ce3fa83482b62d1b6e50d2a8f36addf73e
commit r13-8796-g6f8933ce3fa83482b62d1b6e50d2a8f36addf73e Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Thu May 23 00:20:12 2024 +0000 Daily bump. Diff: --- gcc/ChangeLog | 19 +++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/fortran/ChangeLog | 29 +++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 44 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2172a4e4cbe..d00ff4365e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,22 @@ +2024-05-22 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-05-22 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/115152 + * tree-ssa-strlen.cc (strlen_pass::count_nonzero_bytes_addr): If + !si->full_string_p, clear *nulterm and set maxlen to nbytes. + +2024-05-22 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-05-22 Jakub Jelinek <ja...@redhat.com> + + PR sanitizer/115172 + * ubsan.cc (instrument_bool_enum_load): If rhs is not in generic + address space, use qualified version of utype with the right + address space. Formatting fix. + 2024-05-21 Andrew Pinski <quic_apin...@quicinc.com> Backported from master: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index c9b34d6ac0f..e67e2574c12 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240522 +20240523 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 8b9072f58a9..55db84bde1b 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,32 @@ +2024-05-22 Harald Anlauf <anl...@gmx.de> + + Backported from master: + 2024-05-05 Harald Anlauf <anl...@gmx.de> + + PR fortran/114827 + * trans-array.cc (gfc_alloc_allocatable_for_assignment): Take into + account _len of unlimited polymorphic entities when calculating + the effective element size for allocation size and array span. + Set _len of lhs to _len of rhs. + * trans-expr.cc (trans_class_assignment): Take into account _len + of unlimited polymorphic entities for allocation size. + +2024-05-22 Andrew Jenner <and...@codesourcery.com> + + Backported from master: + 2023-11-28 Andrew Jenner <and...@codesourcery.com> + Tobias Burnus <tob...@codesourcery.com> + + PR fortran/110415 + * trans-expr.cc (trans_class_vptr_len_assignment): Add + from_vptrp parameter. Populate it. Don't check for DECL_P + when deciding whether to create temporary. + (trans_class_pointer_fcn, gfc_trans_pointer_assignment): Add + NULL argument to trans_class_vptr_len_assignment calls. + (trans_class_assignment): Get rhs_vptr from + trans_class_vptr_len_assignment and use it for determining size + for allocation/reallocation. Use return value from realloc. + 2024-05-21 Harald Anlauf <anl...@gmx.de> Backported from master: diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ecd7bc59f02..a4c90dbbf6b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,47 @@ +2024-05-22 Torbjörn SVENSSON <torbjorn.svens...@foss.st.com> + + Backported from master: + 2024-05-22 Torbjörn SVENSSON <torbjorn.svens...@foss.st.com> + + * gcc.target/arm/cmse/extend-param.c: Add regression test. Add + -fshort-enums. + * gcc.target/arm/cmse/extend-return.c: Add -fshort-enums option. + +2024-05-22 Harald Anlauf <anl...@gmx.de> + + Backported from master: + 2024-05-05 Harald Anlauf <anl...@gmx.de> + + PR fortran/114827 + * gfortran.dg/asan/unlimited_polymorphic_34.f90: New test. + +2024-05-22 Andrew Jenner <and...@codesourcery.com> + + Backported from master: + 2023-11-28 Andrew Jenner <and...@codesourcery.com> + Tobias Burnus <tob...@codesourcery.com> + + PR fortran/110415 + * gfortran.dg/pr110415.f90: New test. + * gfortran.dg/asan/pr110415-2.f90: New test. + * gfortran.dg/asan/pr110415-3.f90: New test. + +2024-05-22 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-05-22 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/115152 + * gcc.dg/pr115152.c: New test. + +2024-05-22 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-05-22 Jakub Jelinek <ja...@redhat.com> + + PR sanitizer/115172 + * gcc.dg/asan/pr115172.c: New test. + 2024-05-21 Harald Anlauf <anl...@gmx.de> Backported from master: