https://gcc.gnu.org/g:2aad0206f91eeb0641e5ce0ca3c2aa9fdd4f68ab
commit r13-9283-g2aad0206f91eeb0641e5ce0ca3c2aa9fdd4f68ab Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Tue Jan 7 00:23:40 2025 +0000 Daily bump. Diff: --- gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 5 +++++ gcc/fortran/ChangeLog | 38 ++++++++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 18 ++++++++++++++++++ 4 files changed, 62 insertions(+), 1 deletion(-) diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 197d498df297..0bf88b7cb924 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250106 +20250107 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 149b0db03569..3603b6c302c6 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2025-01-06 Eric Botcazou <ebotca...@adacore.com> + + * exp_aggr.adb (Two_Pass_Aggregate_Expansion): Use the base type of + the index type to find the type used to compute the length. + 2025-01-05 Estevan Castilho (Tevo) <estevan....@gmail.com> * libgnarl/s-taprop__dummy.adb: Remove use clause for diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index eb2bf68395ba..508323d86401 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,41 @@ +2025-01-06 Paul Thomas <pa...@gcc.gnu.org> + + Backported from master: + 2023-05-16 Paul Thomas <pa...@gcc.gnu.org> + + PR fortran/105152 + PR fortran/100193 + PR fortran/87496 + PR fortran/103389 + PR fortran/104429 + PR fortran/82774 + * interface.cc (gfc_compare_actual_formal): Emit an error if an + unlimited polymorphic actual is not matched either to an + unlimited or assumed type formal argument. + * resolve.cc (resolve_ordinary_assign): Emit an error if the + var expression of an ordinary assignment is a proc pointer + component. + * trans-array.cc (gfc_walk_array_ref): Provide assumed shape + arrays coming from interface mapping with a viable arrayspec. + * trans-expr.cc (gfc_conv_intrinsic_to_class): Tidy up flagging + of unlimited polymorphic 'class_ts'. + (gfc_conv_gfc_desc_to_cfi_desc): Assumed type is unlimited + polymorphic and should accept any actual type. + (gfc_conv_procedure_call): Replace dreadful kludge with a call + to gfc_finalize_tree_expr. Avoid dereferencing a void pointer + by giving it the pointer type of the actual argument. + (alloc_scalar_allocatable_subcomponent): Shorten the function + name and replace the symbol argument with the se string length. + If a deferred length character length is either not present or + is not a variable, give the typespec a variable and assign the + string length to that. Use gfc_deferred_strlen to find the + hidden string length component. + (gfc_trans_subcomponent_assign): Convert the expression before + the call to alloc_scalar_allocatable_subcomponent so that a + good string length is provided. + (gfc_trans_structure_assign): Remove the unneeded derived type + symbol from calls to gfc_trans_subcomponent_assign. + 2024-12-22 Paul Thomas <pa...@gcc.gnu.org> Backported from master: diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d87b22f3d20b..ca6b8cfb2330 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,21 @@ +2025-01-06 Paul Thomas <pa...@gcc.gnu.org> + + Backported from master: + 2023-05-16 Paul Thomas <pa...@gcc.gnu.org> + + PR fortran/105152 + PR fortran/100193 + PR fortran/87946 + PR fortran/103389 + PR fortran/104429 + PR fortran/82774 + * gfortran.dg/pr105152.f90 : New test + * gfortran.dg/pr100193.f90 : New test + * gfortran.dg/pr87946.f90 : New test + * gfortran.dg/pr103389.f90 : New test + * gfortran.dg/pr104429.f90 : New test + * gfortran.dg/pr82774.f90 : New test + 2024-12-22 Paul Thomas <pa...@gcc.gnu.org> Backported from master: