https://gcc.gnu.org/g:cf260bed4c8c0ddcedd3b307c4683d62a284cdce
commit cf260bed4c8c0ddcedd3b307c4683d62a284cdce Author: Mikael Morin <mik...@gcc.gnu.org> Date: Fri Jun 6 12:33:22 2025 +0200 Correction régression dtio_1 Diff: --- libgfortran/io/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgfortran/io/format.c b/libgfortran/io/format.c index 6d2cb508aac7..9ce64dcf0ca0 100644 --- a/libgfortran/io/format.c +++ b/libgfortran/io/format.c @@ -1112,7 +1112,7 @@ parse_format_list (st_parameter_dt *dtp, bool *seen_dd) array descriptor and save it in the format node. */ gfc_full_array_i4 *vp = tail->u.udf.vlist; GFC_DESCRIPTOR_DATA(vp) = xmalloc (i * sizeof(GFC_INTEGER_4)); - GFC_DESCRIPTOR_DIMENSION_SET(vp, 0, 1, i, 1); + GFC_DESCRIPTOR_DIMENSION_SET(vp, 0, 1, i, sizeof(GFC_INTEGER_4)); memcpy (GFC_DESCRIPTOR_DATA(vp), temp, i * sizeof(GFC_INTEGER_4)); break; }