https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93524
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Sandra Loosemore <san...@gcc.gnu.org>: https://gcc.gnu.org/g:1a2bbc08d9e5e4837d33afbb8c8347a182223a43 commit r11-8648-g1a2bbc08d9e5e4837d33afbb8c8347a182223a43 Author: Sandra Loosemore <san...@codesourcery.com> Date: Tue Jun 22 12:42:17 2021 -0700 Fortran: fix sm computation in CFI_allocate [PR93524] Backported from trunk. 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.