https://gcc.gnu.org/g:ce0468366d31eb15b4e7d6f10dc4320b115e7803
commit ce0468366d31eb15b4e7d6f10dc4320b115e7803 Author: Mikael Morin <[email protected]> Date: Fri Oct 3 16:08:04 2025 +0200 Correction régression class_allocate_22.f90 Diff: --- gcc/fortran/trans-array.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/fortran/trans-array.cc b/gcc/fortran/trans-array.cc index d0aafd976d99..569796a32e16 100644 --- a/gcc/fortran/trans-array.cc +++ b/gcc/fortran/trans-array.cc @@ -8194,7 +8194,8 @@ gfc_conv_expr_descriptor (gfc_se *se, gfc_expr *expr) && (!info->ref || (info->ref->u.ar.type == AR_FULL && !info->ref->next)) - && !se->bytes_strided; + && !se->bytes_strided + && !transposed_dims (ss); parmtype = gfc_get_array_type_bounds (parmtype, loop.dimen, codim, loop.from, loop.to, contiguous, GFC_ARRAY_UNKNOWN, false);
