https://gcc.gnu.org/g:3e21a68337542a8dbdbb44d1e7479aa32ca619c6
commit 3e21a68337542a8dbdbb44d1e7479aa32ca619c6 Author: Mikael Morin <[email protected]> Date: Fri Oct 3 10:56:22 2025 +0200 Correction partielle class_allocate_22.f90 Diff: --- gcc/fortran/trans-expr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/fortran/trans-expr.cc b/gcc/fortran/trans-expr.cc index eeea337859dd..b85cdd279a39 100644 --- a/gcc/fortran/trans-expr.cc +++ b/gcc/fortran/trans-expr.cc @@ -1291,7 +1291,7 @@ gfc_conv_class_to_class (gfc_se *parmse, gfc_expr *e, gfc_typespec class_ts, true); } else - gfc_add_modify (&parmse->post, parmse->expr, ctree); + gfc_copy_descriptor (&parmse->post, parmse->expr, ctree); } /* Set the vptr. */
