https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93524
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Sandra Loosemore <san...@gcc.gnu.org>: https://gcc.gnu.org/g:f61e5d4d8b6d4cfa96863187fa61b8c6b057a491 commit r12-1733-gf61e5d4d8b6d4cfa96863187fa61b8c6b057a491 Author: Sandra Loosemore <san...@codesourcery.com> Date: Tue Jun 22 12:42:17 2021 -0700 Fortran: fix sm computation in CFI_allocate [PR93524] This patch fixes a bug in setting the step multiplier field in the C descriptor for array dimensions > 2. 2021-06-21 Sandra Loosemore <san...@codesourcery.com> Tobias Burnus <tob...@codesourcery.com> libgfortran/ PR fortran/93524 * runtime/ISO_Fortran_binding.c (CFI_allocate): Fix sm computation. gcc/testsuite/ PR fortran/93524 * gfortran.dg/pr93524.c: New. * gfortran.dg/pr93524.f90: New.