https://gcc.gnu.org/g:58d5297c5d9e5d9f0fc85f4e2d3180822cc5c3ec

commit 58d5297c5d9e5d9f0fc85f4e2d3180822cc5c3ec
Author: Mikael Morin <[email protected]>
Date:   Mon Nov 9 10:42:52 2026 +0100

    Régénération des fichiers générés

Diff:
---
 libgfortran/generated/reshape_c10.c | 4 ++--
 libgfortran/generated/reshape_c16.c | 4 ++--
 libgfortran/generated/reshape_c17.c | 4 ++--
 libgfortran/generated/reshape_c4.c  | 4 ++--
 libgfortran/generated/reshape_c8.c  | 4 ++--
 libgfortran/generated/reshape_i16.c | 4 ++--
 libgfortran/generated/reshape_i4.c  | 4 ++--
 libgfortran/generated/reshape_i8.c  | 4 ++--
 libgfortran/generated/reshape_r10.c | 4 ++--
 libgfortran/generated/reshape_r16.c | 4 ++--
 libgfortran/generated/reshape_r17.c | 4 ++--
 libgfortran/generated/reshape_r4.c  | 4 ++--
 libgfortran/generated/reshape_r8.c  | 4 ++--
 13 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/libgfortran/generated/reshape_c10.c 
b/libgfortran/generated/reshape_c10.c
index 408ad4ebed67..72dc0bcae4fa 100644
--- a/libgfortran/generated/reshape_c10.c
+++ b/libgfortran/generated/reshape_c10.c
@@ -308,7 +308,7 @@ reshape_c10 (gfc_array_c10 * const restrict ret,
           rcount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          rptr = (GFC_COMPLEX_10 *) (((char*) rptr) + rstride[n] * rextent[n]);
+          rptr = (GFC_COMPLEX_10 *) (((char*) rptr) - rstride[n] * rextent[n]);
           n++;
           if (n == rdim)
             {
@@ -331,7 +331,7 @@ reshape_c10 (gfc_array_c10 * const restrict ret,
           scount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          src = (const GFC_COMPLEX_10 *) (((const char*) src) + sstride[n] * 
sextent[n]);
+          src = (const GFC_COMPLEX_10 *) (((const char*) src) - sstride[n] * 
sextent[n]);
           n++;
           if (n == sdim)
             {
diff --git a/libgfortran/generated/reshape_c16.c 
b/libgfortran/generated/reshape_c16.c
index f02d0a11743b..723499c518a5 100644
--- a/libgfortran/generated/reshape_c16.c
+++ b/libgfortran/generated/reshape_c16.c
@@ -308,7 +308,7 @@ reshape_c16 (gfc_array_c16 * const restrict ret,
           rcount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          rptr = (GFC_COMPLEX_16 *) (((char*) rptr) + rstride[n] * rextent[n]);
+          rptr = (GFC_COMPLEX_16 *) (((char*) rptr) - rstride[n] * rextent[n]);
           n++;
           if (n == rdim)
             {
@@ -331,7 +331,7 @@ reshape_c16 (gfc_array_c16 * const restrict ret,
           scount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          src = (const GFC_COMPLEX_16 *) (((const char*) src) + sstride[n] * 
sextent[n]);
+          src = (const GFC_COMPLEX_16 *) (((const char*) src) - sstride[n] * 
sextent[n]);
           n++;
           if (n == sdim)
             {
diff --git a/libgfortran/generated/reshape_c17.c 
b/libgfortran/generated/reshape_c17.c
index 31b05b0b7a4e..d6c9d1eda472 100644
--- a/libgfortran/generated/reshape_c17.c
+++ b/libgfortran/generated/reshape_c17.c
@@ -308,7 +308,7 @@ reshape_c17 (gfc_array_c17 * const restrict ret,
           rcount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          rptr = (GFC_COMPLEX_17 *) (((char*) rptr) + rstride[n] * rextent[n]);
+          rptr = (GFC_COMPLEX_17 *) (((char*) rptr) - rstride[n] * rextent[n]);
           n++;
           if (n == rdim)
             {
@@ -331,7 +331,7 @@ reshape_c17 (gfc_array_c17 * const restrict ret,
           scount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          src = (const GFC_COMPLEX_17 *) (((const char*) src) + sstride[n] * 
sextent[n]);
+          src = (const GFC_COMPLEX_17 *) (((const char*) src) - sstride[n] * 
sextent[n]);
           n++;
           if (n == sdim)
             {
diff --git a/libgfortran/generated/reshape_c4.c 
b/libgfortran/generated/reshape_c4.c
index bb2cfe527512..2f06e2e07983 100644
--- a/libgfortran/generated/reshape_c4.c
+++ b/libgfortran/generated/reshape_c4.c
@@ -308,7 +308,7 @@ reshape_c4 (gfc_array_c4 * const restrict ret,
           rcount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          rptr = (GFC_COMPLEX_4 *) (((char*) rptr) + rstride[n] * rextent[n]);
+          rptr = (GFC_COMPLEX_4 *) (((char*) rptr) - rstride[n] * rextent[n]);
           n++;
           if (n == rdim)
             {
@@ -331,7 +331,7 @@ reshape_c4 (gfc_array_c4 * const restrict ret,
           scount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          src = (const GFC_COMPLEX_4 *) (((const char*) src) + sstride[n] * 
sextent[n]);
+          src = (const GFC_COMPLEX_4 *) (((const char*) src) - sstride[n] * 
sextent[n]);
           n++;
           if (n == sdim)
             {
diff --git a/libgfortran/generated/reshape_c8.c 
b/libgfortran/generated/reshape_c8.c
index d417a0a26aa8..3f70e793f482 100644
--- a/libgfortran/generated/reshape_c8.c
+++ b/libgfortran/generated/reshape_c8.c
@@ -308,7 +308,7 @@ reshape_c8 (gfc_array_c8 * const restrict ret,
           rcount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          rptr = (GFC_COMPLEX_8 *) (((char*) rptr) + rstride[n] * rextent[n]);
+          rptr = (GFC_COMPLEX_8 *) (((char*) rptr) - rstride[n] * rextent[n]);
           n++;
           if (n == rdim)
             {
@@ -331,7 +331,7 @@ reshape_c8 (gfc_array_c8 * const restrict ret,
           scount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          src = (const GFC_COMPLEX_8 *) (((const char*) src) + sstride[n] * 
sextent[n]);
+          src = (const GFC_COMPLEX_8 *) (((const char*) src) - sstride[n] * 
sextent[n]);
           n++;
           if (n == sdim)
             {
diff --git a/libgfortran/generated/reshape_i16.c 
b/libgfortran/generated/reshape_i16.c
index cfb516aa4f28..118ca166a3ad 100644
--- a/libgfortran/generated/reshape_i16.c
+++ b/libgfortran/generated/reshape_i16.c
@@ -308,7 +308,7 @@ reshape_16 (gfc_array_i16 * const restrict ret,
           rcount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          rptr = (GFC_INTEGER_16 *) (((char*) rptr) + rstride[n] * rextent[n]);
+          rptr = (GFC_INTEGER_16 *) (((char*) rptr) - rstride[n] * rextent[n]);
           n++;
           if (n == rdim)
             {
@@ -331,7 +331,7 @@ reshape_16 (gfc_array_i16 * const restrict ret,
           scount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          src = (const GFC_INTEGER_16 *) (((const char*) src) + sstride[n] * 
sextent[n]);
+          src = (const GFC_INTEGER_16 *) (((const char*) src) - sstride[n] * 
sextent[n]);
           n++;
           if (n == sdim)
             {
diff --git a/libgfortran/generated/reshape_i4.c 
b/libgfortran/generated/reshape_i4.c
index 6ee93c7e931f..a667a5347c5e 100644
--- a/libgfortran/generated/reshape_i4.c
+++ b/libgfortran/generated/reshape_i4.c
@@ -308,7 +308,7 @@ reshape_4 (gfc_array_i4 * const restrict ret,
           rcount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          rptr = (GFC_INTEGER_4 *) (((char*) rptr) + rstride[n] * rextent[n]);
+          rptr = (GFC_INTEGER_4 *) (((char*) rptr) - rstride[n] * rextent[n]);
           n++;
           if (n == rdim)
             {
@@ -331,7 +331,7 @@ reshape_4 (gfc_array_i4 * const restrict ret,
           scount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          src = (const GFC_INTEGER_4 *) (((const char*) src) + sstride[n] * 
sextent[n]);
+          src = (const GFC_INTEGER_4 *) (((const char*) src) - sstride[n] * 
sextent[n]);
           n++;
           if (n == sdim)
             {
diff --git a/libgfortran/generated/reshape_i8.c 
b/libgfortran/generated/reshape_i8.c
index 9724f9bdcf06..d0f9b1ef15f0 100644
--- a/libgfortran/generated/reshape_i8.c
+++ b/libgfortran/generated/reshape_i8.c
@@ -308,7 +308,7 @@ reshape_8 (gfc_array_i8 * const restrict ret,
           rcount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          rptr = (GFC_INTEGER_8 *) (((char*) rptr) + rstride[n] * rextent[n]);
+          rptr = (GFC_INTEGER_8 *) (((char*) rptr) - rstride[n] * rextent[n]);
           n++;
           if (n == rdim)
             {
@@ -331,7 +331,7 @@ reshape_8 (gfc_array_i8 * const restrict ret,
           scount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          src = (const GFC_INTEGER_8 *) (((const char*) src) + sstride[n] * 
sextent[n]);
+          src = (const GFC_INTEGER_8 *) (((const char*) src) - sstride[n] * 
sextent[n]);
           n++;
           if (n == sdim)
             {
diff --git a/libgfortran/generated/reshape_r10.c 
b/libgfortran/generated/reshape_r10.c
index e47ea71952fa..53ad1753ac04 100644
--- a/libgfortran/generated/reshape_r10.c
+++ b/libgfortran/generated/reshape_r10.c
@@ -308,7 +308,7 @@ reshape_r10 (gfc_array_r10 * const restrict ret,
           rcount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          rptr = (GFC_REAL_10 *) (((char*) rptr) + rstride[n] * rextent[n]);
+          rptr = (GFC_REAL_10 *) (((char*) rptr) - rstride[n] * rextent[n]);
           n++;
           if (n == rdim)
             {
@@ -331,7 +331,7 @@ reshape_r10 (gfc_array_r10 * const restrict ret,
           scount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          src = (const GFC_REAL_10 *) (((const char*) src) + sstride[n] * 
sextent[n]);
+          src = (const GFC_REAL_10 *) (((const char*) src) - sstride[n] * 
sextent[n]);
           n++;
           if (n == sdim)
             {
diff --git a/libgfortran/generated/reshape_r16.c 
b/libgfortran/generated/reshape_r16.c
index 4b6e9bafd63e..de02d9b2b08f 100644
--- a/libgfortran/generated/reshape_r16.c
+++ b/libgfortran/generated/reshape_r16.c
@@ -308,7 +308,7 @@ reshape_r16 (gfc_array_r16 * const restrict ret,
           rcount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          rptr = (GFC_REAL_16 *) (((char*) rptr) + rstride[n] * rextent[n]);
+          rptr = (GFC_REAL_16 *) (((char*) rptr) - rstride[n] * rextent[n]);
           n++;
           if (n == rdim)
             {
@@ -331,7 +331,7 @@ reshape_r16 (gfc_array_r16 * const restrict ret,
           scount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          src = (const GFC_REAL_16 *) (((const char*) src) + sstride[n] * 
sextent[n]);
+          src = (const GFC_REAL_16 *) (((const char*) src) - sstride[n] * 
sextent[n]);
           n++;
           if (n == sdim)
             {
diff --git a/libgfortran/generated/reshape_r17.c 
b/libgfortran/generated/reshape_r17.c
index 44794d5c7425..0268506c9f77 100644
--- a/libgfortran/generated/reshape_r17.c
+++ b/libgfortran/generated/reshape_r17.c
@@ -308,7 +308,7 @@ reshape_r17 (gfc_array_r17 * const restrict ret,
           rcount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          rptr = (GFC_REAL_17 *) (((char*) rptr) + rstride[n] * rextent[n]);
+          rptr = (GFC_REAL_17 *) (((char*) rptr) - rstride[n] * rextent[n]);
           n++;
           if (n == rdim)
             {
@@ -331,7 +331,7 @@ reshape_r17 (gfc_array_r17 * const restrict ret,
           scount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          src = (const GFC_REAL_17 *) (((const char*) src) + sstride[n] * 
sextent[n]);
+          src = (const GFC_REAL_17 *) (((const char*) src) - sstride[n] * 
sextent[n]);
           n++;
           if (n == sdim)
             {
diff --git a/libgfortran/generated/reshape_r4.c 
b/libgfortran/generated/reshape_r4.c
index 49a3fbe3b560..2991a07c8952 100644
--- a/libgfortran/generated/reshape_r4.c
+++ b/libgfortran/generated/reshape_r4.c
@@ -308,7 +308,7 @@ reshape_r4 (gfc_array_r4 * const restrict ret,
           rcount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          rptr = (GFC_REAL_4 *) (((char*) rptr) + rstride[n] * rextent[n]);
+          rptr = (GFC_REAL_4 *) (((char*) rptr) - rstride[n] * rextent[n]);
           n++;
           if (n == rdim)
             {
@@ -331,7 +331,7 @@ reshape_r4 (gfc_array_r4 * const restrict ret,
           scount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          src = (const GFC_REAL_4 *) (((const char*) src) + sstride[n] * 
sextent[n]);
+          src = (const GFC_REAL_4 *) (((const char*) src) - sstride[n] * 
sextent[n]);
           n++;
           if (n == sdim)
             {
diff --git a/libgfortran/generated/reshape_r8.c 
b/libgfortran/generated/reshape_r8.c
index f59ab7de2269..ad9aa556f302 100644
--- a/libgfortran/generated/reshape_r8.c
+++ b/libgfortran/generated/reshape_r8.c
@@ -308,7 +308,7 @@ reshape_r8 (gfc_array_r8 * const restrict ret,
           rcount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          rptr = (GFC_REAL_8 *) (((char*) rptr) + rstride[n] * rextent[n]);
+          rptr = (GFC_REAL_8 *) (((char*) rptr) - rstride[n] * rextent[n]);
           n++;
           if (n == rdim)
             {
@@ -331,7 +331,7 @@ reshape_r8 (gfc_array_r8 * const restrict ret,
           scount[n] = 0;
           /* We could precalculate these products, but this is a less
              frequently used path so probably not worth it.  */
-          src = (const GFC_REAL_8 *) (((const char*) src) + sstride[n] * 
sextent[n]);
+          src = (const GFC_REAL_8 *) (((const char*) src) - sstride[n] * 
sextent[n]);
           n++;
           if (n == sdim)
             {

Reply via email to