https://gcc.gnu.org/g:6d58b67fbf21d3cdf603146bb610cb4fe0bdb26b

commit 6d58b67fbf21d3cdf603146bb610cb4fe0bdb26b
Author: Mikael Morin <[email protected]>
Date:   Sun Sep 14 11:40:56 2025 +0200

    Correction matmull.m4

Diff:
---
 libgfortran/m4/matmull.m4 | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/libgfortran/m4/matmull.m4 b/libgfortran/m4/matmull.m4
index 9a09922b8689..609d6c4d4ecd 100644
--- a/libgfortran/m4/matmull.m4
+++ b/libgfortran/m4/matmull.m4
@@ -227,14 +227,12 @@ sinclude(`matmul_asm_'rtype_code`.m4')dnl
               pb += bstride;
             }
 
-          dest += rxstride;
+          PTR_INCREMENT_BYTES (dest, rxstride);
           abase += xstride;
         }
       abase -= xstride * xcount;
       bbase += ystride;
-      PTR_INCREMENT_BYTES (dest,
-                          (rystride - (rxstride * xcount))
-                          * GFC_DESCRIPTOR_SIZE(retarray));
+      PTR_INCREMENT_BYTES (dest, rystride - (rxstride * xcount));
     }
 }

Reply via email to