https://gcc.gnu.org/g:7ce1eed307bd7afb2f73b55774f72f3377f546fa
commit 7ce1eed307bd7afb2f73b55774f72f3377f546fa Author: Mikael Morin <mik...@gcc.gnu.org> Date: Thu Jun 5 11:40:37 2025 +0200 Correction régression ISO_Fortran_binding_1 Diff: --- gcc/fortran/trans-expr.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/gcc/fortran/trans-expr.cc b/gcc/fortran/trans-expr.cc index 7181d3b0bec4..b16b870ff369 100644 --- a/gcc/fortran/trans-expr.cc +++ b/gcc/fortran/trans-expr.cc @@ -5987,8 +5987,6 @@ gfc_conv_gfc_desc_to_cfi_desc (gfc_se *parmse, gfc_expr *e, gfc_symbol *fsym) While sm is fine as it uses span*stride and not elem_len. */ if (POINTER_TYPE_P (TREE_TYPE (gfc))) gfc = build_fold_indirect_ref_loc (input_location, gfc); - else if (is_subref_array (e) && e->ts.type != BT_CHARACTER) - gfc_get_dataptr_offset (&se.pre, gfc, gfc, NULL_TREE, true, e); } if (e->ts.type == BT_CHARACTER) {