https://gcc.gnu.org/g:38242e9ad4b627968ff070abe5f85bc4f28022fb
commit r14-12533-g38242e9ad4b627968ff070abe5f85bc4f28022fb Author: GCC Administrator <[email protected]> Date: Sat Apr 18 00:18:15 2026 +0000 Daily bump. Diff: --- gcc/DATESTAMP | 2 +- gcc/fortran/ChangeLog | 80 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 40 +++++++++++++++++++++++++ 3 files changed, 121 insertions(+), 1 deletion(-) diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 0f49f77bbf06..4cbd19c3434d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260417 +20260418 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index c3af6fc1fa37..5c6fd7c3390d 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,83 @@ +2026-04-17 Paul Thomas <[email protected]> + + Backported from master: + 2025-02-07 Tomáš Trnka <[email protected]> + + PR fortran/116829 + * trans-decl.cc (init_intent_out_dt): Always call + gfc_init_default_dt() for BT_DERIVED to apply s->value if the + symbol isn't allocatable. Also simplify the logic a bit. + +2026-04-17 Paul Thomas <[email protected]> + + Backported from master: + 2026-04-03 Paul Thomas <[email protected]> + + PR fortran/100155 + * trans-expr.cc (gfc_add_interface_mapping): 'new_sym' dummy + attribute set to zero. + (gfc_conv_procedure_call): Deallocate allocatable components of + a class argument, enclosed in parentheses,wrap up the parmse + and proceed to the next argument. + +2026-04-17 Paul Thomas <[email protected]> + + Backported from master: + 2026-03-27 Paul Thomas <[email protected]> + + PR fortran/102619 + * trans-expr.cc (gfc_get_interface_mapping_array): Add argument + 'assumed_rank_formal', which if true returns the descriptor in + 'ifm'. + (gfc_add_interface_mapping): Detect an assumed rank formal arg + of a non-intrinsic function to set 'assumed_rank_formal' and + pass the descriptor to gfc_get_interface_mapping_array. + +2026-04-17 Paul Thomas <[email protected]> + + Backported from master: + 2024-07-21 Paul Thomas <[email protected]> + + PR fortran/59104 + * gfortran.h : Add decl_order to gfc_symbol. + * symbol.cc : Add static next_decl_order.. + (gfc_set_sym_referenced): Set symbol decl_order. + * trans-decl.cc : Include dependency.h. + (decl_order): Replace symbol declared_at.lb->location with + decl_order. + +2026-04-17 Paul Thomas <[email protected]> + + Backported from master: + 2024-06-20 Paul Thomas <[email protected]> + + 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. + 2026-04-14 Harald Anlauf <[email protected]> Backported from master: diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d27b374f6b34..28242f1e9ebe 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,43 @@ +2026-04-17 Paul Thomas <[email protected]> + + Backported from master: + 2025-02-07 Tomáš Trnka <[email protected]> + + PR fortran/116829 + * gfortran.dg/derived_init_7.f90: New test. + +2026-04-17 Paul Thomas <[email protected]> + + Backported from master: + 2026-04-03 Paul Thomas <[email protected]> + + PR fortran/100155 + * gfortran.dg/pr100155.f90: New test. + +2026-04-17 Paul Thomas <[email protected]> + + Backported from master: + 2026-03-27 Paul Thomas <[email protected]> + + PR fortran/102619 + * gfortran.dg/pr102619.f90: New test. + +2026-04-17 Paul Thomas <[email protected]> + + Backported from master: + 2024-07-21 Paul Thomas <[email protected]> + + PR fortran/59104 + * gfortran.dg/dependent_decls_3.f90: New test. + +2026-04-17 Paul Thomas <[email protected]> + + Backported from master: + 2024-06-20 Paul Thomas <[email protected]> + + PR fortran/59104 + * gfortran.dg/dependent_decls_2.f90: New test. + 2026-04-14 Harald Anlauf <[email protected]> Backported from master:
