https://gcc.gnu.org/g:787ed157fa47b2fd52010bf625f7fdb0eb3ae665

commit 787ed157fa47b2fd52010bf625f7fdb0eb3ae665
Author: Mikael Morin <[email protected]>
Date:   Sun Nov 8 22:44:01 2026 +0100

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

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

diff --git a/libgfortran/generated/reshape_c10.c 
b/libgfortran/generated/reshape_c10.c
index 6a92792de3f9..125240de40ae 100644
--- a/libgfortran/generated/reshape_c10.c
+++ b/libgfortran/generated/reshape_c10.c
@@ -54,7 +54,7 @@ reshape_c10 (gfc_array_c10 * const restrict ret,
   index_type rsize;
   index_type rs;
   index_type rex;
-  GFC_COMPLEX_10 *rptr;
+  char *rptr;
   /* s.* indicates the source array.  */
   index_type scount[GFC_MAX_DIMENSIONS];
   index_type sextent[GFC_MAX_DIMENSIONS];
@@ -62,16 +62,16 @@ reshape_c10 (gfc_array_c10 * const restrict ret,
   index_type sstride0;
   index_type sdim;
   index_type ssize;
-  const GFC_COMPLEX_10 *sptr;
+  const char *sptr;
   /* p.* indicates the pad array.  */
   index_type pcount[GFC_MAX_DIMENSIONS];
   index_type pextent[GFC_MAX_DIMENSIONS];
   index_type pstride[GFC_MAX_DIMENSIONS];
   index_type pdim;
   index_type psize;
-  const GFC_COMPLEX_10 *pptr;
+  const char *pptr;
 
-  const GFC_COMPLEX_10 *src;
+  const char *src;
   int sempty, pempty, shape_empty;
   index_type shape_data[GFC_MAX_DIMENSIONS];
 
@@ -144,7 +144,7 @@ reshape_c10 (gfc_array_c10 * const restrict ret,
           else
             psize = 0;
         }
-      pptr = pad->base_addr;
+      pptr = (char*) pad->base_addr;
     }
   else
     {
@@ -266,8 +266,8 @@ reshape_c10 (gfc_array_c10 * const restrict ret,
                      ssize, pad ? (char *)pad->base_addr : NULL, psize);
       return;
     }
-  rptr = ret->base_addr;
-  src = sptr = source->base_addr;
+  rptr = (char*) ret->base_addr;
+  src = sptr = (char*) source->base_addr;
   rstride0 = rstride[0];
   sstride0 = sstride[0];
 
diff --git a/libgfortran/generated/reshape_c16.c 
b/libgfortran/generated/reshape_c16.c
index d546f7c4f335..43a626e89163 100644
--- a/libgfortran/generated/reshape_c16.c
+++ b/libgfortran/generated/reshape_c16.c
@@ -54,7 +54,7 @@ reshape_c16 (gfc_array_c16 * const restrict ret,
   index_type rsize;
   index_type rs;
   index_type rex;
-  GFC_COMPLEX_16 *rptr;
+  char *rptr;
   /* s.* indicates the source array.  */
   index_type scount[GFC_MAX_DIMENSIONS];
   index_type sextent[GFC_MAX_DIMENSIONS];
@@ -62,16 +62,16 @@ reshape_c16 (gfc_array_c16 * const restrict ret,
   index_type sstride0;
   index_type sdim;
   index_type ssize;
-  const GFC_COMPLEX_16 *sptr;
+  const char *sptr;
   /* p.* indicates the pad array.  */
   index_type pcount[GFC_MAX_DIMENSIONS];
   index_type pextent[GFC_MAX_DIMENSIONS];
   index_type pstride[GFC_MAX_DIMENSIONS];
   index_type pdim;
   index_type psize;
-  const GFC_COMPLEX_16 *pptr;
+  const char *pptr;
 
-  const GFC_COMPLEX_16 *src;
+  const char *src;
   int sempty, pempty, shape_empty;
   index_type shape_data[GFC_MAX_DIMENSIONS];
 
@@ -144,7 +144,7 @@ reshape_c16 (gfc_array_c16 * const restrict ret,
           else
             psize = 0;
         }
-      pptr = pad->base_addr;
+      pptr = (char*) pad->base_addr;
     }
   else
     {
@@ -266,8 +266,8 @@ reshape_c16 (gfc_array_c16 * const restrict ret,
                      ssize, pad ? (char *)pad->base_addr : NULL, psize);
       return;
     }
-  rptr = ret->base_addr;
-  src = sptr = source->base_addr;
+  rptr = (char*) ret->base_addr;
+  src = sptr = (char*) source->base_addr;
   rstride0 = rstride[0];
   sstride0 = sstride[0];
 
diff --git a/libgfortran/generated/reshape_c17.c 
b/libgfortran/generated/reshape_c17.c
index 35d8743d9b6c..3ffb726c4b3f 100644
--- a/libgfortran/generated/reshape_c17.c
+++ b/libgfortran/generated/reshape_c17.c
@@ -54,7 +54,7 @@ reshape_c17 (gfc_array_c17 * const restrict ret,
   index_type rsize;
   index_type rs;
   index_type rex;
-  GFC_COMPLEX_17 *rptr;
+  char *rptr;
   /* s.* indicates the source array.  */
   index_type scount[GFC_MAX_DIMENSIONS];
   index_type sextent[GFC_MAX_DIMENSIONS];
@@ -62,16 +62,16 @@ reshape_c17 (gfc_array_c17 * const restrict ret,
   index_type sstride0;
   index_type sdim;
   index_type ssize;
-  const GFC_COMPLEX_17 *sptr;
+  const char *sptr;
   /* p.* indicates the pad array.  */
   index_type pcount[GFC_MAX_DIMENSIONS];
   index_type pextent[GFC_MAX_DIMENSIONS];
   index_type pstride[GFC_MAX_DIMENSIONS];
   index_type pdim;
   index_type psize;
-  const GFC_COMPLEX_17 *pptr;
+  const char *pptr;
 
-  const GFC_COMPLEX_17 *src;
+  const char *src;
   int sempty, pempty, shape_empty;
   index_type shape_data[GFC_MAX_DIMENSIONS];
 
@@ -144,7 +144,7 @@ reshape_c17 (gfc_array_c17 * const restrict ret,
           else
             psize = 0;
         }
-      pptr = pad->base_addr;
+      pptr = (char*) pad->base_addr;
     }
   else
     {
@@ -266,8 +266,8 @@ reshape_c17 (gfc_array_c17 * const restrict ret,
                      ssize, pad ? (char *)pad->base_addr : NULL, psize);
       return;
     }
-  rptr = ret->base_addr;
-  src = sptr = source->base_addr;
+  rptr = (char*) ret->base_addr;
+  src = sptr = (char*) source->base_addr;
   rstride0 = rstride[0];
   sstride0 = sstride[0];
 
diff --git a/libgfortran/generated/reshape_c4.c 
b/libgfortran/generated/reshape_c4.c
index 62b037956cb7..ac3a2fc10705 100644
--- a/libgfortran/generated/reshape_c4.c
+++ b/libgfortran/generated/reshape_c4.c
@@ -54,7 +54,7 @@ reshape_c4 (gfc_array_c4 * const restrict ret,
   index_type rsize;
   index_type rs;
   index_type rex;
-  GFC_COMPLEX_4 *rptr;
+  char *rptr;
   /* s.* indicates the source array.  */
   index_type scount[GFC_MAX_DIMENSIONS];
   index_type sextent[GFC_MAX_DIMENSIONS];
@@ -62,16 +62,16 @@ reshape_c4 (gfc_array_c4 * const restrict ret,
   index_type sstride0;
   index_type sdim;
   index_type ssize;
-  const GFC_COMPLEX_4 *sptr;
+  const char *sptr;
   /* p.* indicates the pad array.  */
   index_type pcount[GFC_MAX_DIMENSIONS];
   index_type pextent[GFC_MAX_DIMENSIONS];
   index_type pstride[GFC_MAX_DIMENSIONS];
   index_type pdim;
   index_type psize;
-  const GFC_COMPLEX_4 *pptr;
+  const char *pptr;
 
-  const GFC_COMPLEX_4 *src;
+  const char *src;
   int sempty, pempty, shape_empty;
   index_type shape_data[GFC_MAX_DIMENSIONS];
 
@@ -144,7 +144,7 @@ reshape_c4 (gfc_array_c4 * const restrict ret,
           else
             psize = 0;
         }
-      pptr = pad->base_addr;
+      pptr = (char*) pad->base_addr;
     }
   else
     {
@@ -266,8 +266,8 @@ reshape_c4 (gfc_array_c4 * const restrict ret,
                      ssize, pad ? (char *)pad->base_addr : NULL, psize);
       return;
     }
-  rptr = ret->base_addr;
-  src = sptr = source->base_addr;
+  rptr = (char*) ret->base_addr;
+  src = sptr = (char*) source->base_addr;
   rstride0 = rstride[0];
   sstride0 = sstride[0];
 
diff --git a/libgfortran/generated/reshape_c8.c 
b/libgfortran/generated/reshape_c8.c
index 7a1d8e56c576..7ac379359578 100644
--- a/libgfortran/generated/reshape_c8.c
+++ b/libgfortran/generated/reshape_c8.c
@@ -54,7 +54,7 @@ reshape_c8 (gfc_array_c8 * const restrict ret,
   index_type rsize;
   index_type rs;
   index_type rex;
-  GFC_COMPLEX_8 *rptr;
+  char *rptr;
   /* s.* indicates the source array.  */
   index_type scount[GFC_MAX_DIMENSIONS];
   index_type sextent[GFC_MAX_DIMENSIONS];
@@ -62,16 +62,16 @@ reshape_c8 (gfc_array_c8 * const restrict ret,
   index_type sstride0;
   index_type sdim;
   index_type ssize;
-  const GFC_COMPLEX_8 *sptr;
+  const char *sptr;
   /* p.* indicates the pad array.  */
   index_type pcount[GFC_MAX_DIMENSIONS];
   index_type pextent[GFC_MAX_DIMENSIONS];
   index_type pstride[GFC_MAX_DIMENSIONS];
   index_type pdim;
   index_type psize;
-  const GFC_COMPLEX_8 *pptr;
+  const char *pptr;
 
-  const GFC_COMPLEX_8 *src;
+  const char *src;
   int sempty, pempty, shape_empty;
   index_type shape_data[GFC_MAX_DIMENSIONS];
 
@@ -144,7 +144,7 @@ reshape_c8 (gfc_array_c8 * const restrict ret,
           else
             psize = 0;
         }
-      pptr = pad->base_addr;
+      pptr = (char*) pad->base_addr;
     }
   else
     {
@@ -266,8 +266,8 @@ reshape_c8 (gfc_array_c8 * const restrict ret,
                      ssize, pad ? (char *)pad->base_addr : NULL, psize);
       return;
     }
-  rptr = ret->base_addr;
-  src = sptr = source->base_addr;
+  rptr = (char*) ret->base_addr;
+  src = sptr = (char*) source->base_addr;
   rstride0 = rstride[0];
   sstride0 = sstride[0];
 
diff --git a/libgfortran/generated/reshape_i16.c 
b/libgfortran/generated/reshape_i16.c
index dd4016cca391..b6e54b067803 100644
--- a/libgfortran/generated/reshape_i16.c
+++ b/libgfortran/generated/reshape_i16.c
@@ -54,7 +54,7 @@ reshape_16 (gfc_array_i16 * const restrict ret,
   index_type rsize;
   index_type rs;
   index_type rex;
-  GFC_INTEGER_16 *rptr;
+  char *rptr;
   /* s.* indicates the source array.  */
   index_type scount[GFC_MAX_DIMENSIONS];
   index_type sextent[GFC_MAX_DIMENSIONS];
@@ -62,16 +62,16 @@ reshape_16 (gfc_array_i16 * const restrict ret,
   index_type sstride0;
   index_type sdim;
   index_type ssize;
-  const GFC_INTEGER_16 *sptr;
+  const char *sptr;
   /* p.* indicates the pad array.  */
   index_type pcount[GFC_MAX_DIMENSIONS];
   index_type pextent[GFC_MAX_DIMENSIONS];
   index_type pstride[GFC_MAX_DIMENSIONS];
   index_type pdim;
   index_type psize;
-  const GFC_INTEGER_16 *pptr;
+  const char *pptr;
 
-  const GFC_INTEGER_16 *src;
+  const char *src;
   int sempty, pempty, shape_empty;
   index_type shape_data[GFC_MAX_DIMENSIONS];
 
@@ -144,7 +144,7 @@ reshape_16 (gfc_array_i16 * const restrict ret,
           else
             psize = 0;
         }
-      pptr = pad->base_addr;
+      pptr = (char*) pad->base_addr;
     }
   else
     {
@@ -266,8 +266,8 @@ reshape_16 (gfc_array_i16 * const restrict ret,
                      ssize, pad ? (char *)pad->base_addr : NULL, psize);
       return;
     }
-  rptr = ret->base_addr;
-  src = sptr = source->base_addr;
+  rptr = (char*) ret->base_addr;
+  src = sptr = (char*) source->base_addr;
   rstride0 = rstride[0];
   sstride0 = sstride[0];
 
diff --git a/libgfortran/generated/reshape_i4.c 
b/libgfortran/generated/reshape_i4.c
index db639e17028c..4c3d71c31fba 100644
--- a/libgfortran/generated/reshape_i4.c
+++ b/libgfortran/generated/reshape_i4.c
@@ -54,7 +54,7 @@ reshape_4 (gfc_array_i4 * const restrict ret,
   index_type rsize;
   index_type rs;
   index_type rex;
-  GFC_INTEGER_4 *rptr;
+  char *rptr;
   /* s.* indicates the source array.  */
   index_type scount[GFC_MAX_DIMENSIONS];
   index_type sextent[GFC_MAX_DIMENSIONS];
@@ -62,16 +62,16 @@ reshape_4 (gfc_array_i4 * const restrict ret,
   index_type sstride0;
   index_type sdim;
   index_type ssize;
-  const GFC_INTEGER_4 *sptr;
+  const char *sptr;
   /* p.* indicates the pad array.  */
   index_type pcount[GFC_MAX_DIMENSIONS];
   index_type pextent[GFC_MAX_DIMENSIONS];
   index_type pstride[GFC_MAX_DIMENSIONS];
   index_type pdim;
   index_type psize;
-  const GFC_INTEGER_4 *pptr;
+  const char *pptr;
 
-  const GFC_INTEGER_4 *src;
+  const char *src;
   int sempty, pempty, shape_empty;
   index_type shape_data[GFC_MAX_DIMENSIONS];
 
@@ -144,7 +144,7 @@ reshape_4 (gfc_array_i4 * const restrict ret,
           else
             psize = 0;
         }
-      pptr = pad->base_addr;
+      pptr = (char*) pad->base_addr;
     }
   else
     {
@@ -266,8 +266,8 @@ reshape_4 (gfc_array_i4 * const restrict ret,
                      ssize, pad ? (char *)pad->base_addr : NULL, psize);
       return;
     }
-  rptr = ret->base_addr;
-  src = sptr = source->base_addr;
+  rptr = (char*) ret->base_addr;
+  src = sptr = (char*) source->base_addr;
   rstride0 = rstride[0];
   sstride0 = sstride[0];
 
diff --git a/libgfortran/generated/reshape_i8.c 
b/libgfortran/generated/reshape_i8.c
index 2759e1617b16..95310b464e37 100644
--- a/libgfortran/generated/reshape_i8.c
+++ b/libgfortran/generated/reshape_i8.c
@@ -54,7 +54,7 @@ reshape_8 (gfc_array_i8 * const restrict ret,
   index_type rsize;
   index_type rs;
   index_type rex;
-  GFC_INTEGER_8 *rptr;
+  char *rptr;
   /* s.* indicates the source array.  */
   index_type scount[GFC_MAX_DIMENSIONS];
   index_type sextent[GFC_MAX_DIMENSIONS];
@@ -62,16 +62,16 @@ reshape_8 (gfc_array_i8 * const restrict ret,
   index_type sstride0;
   index_type sdim;
   index_type ssize;
-  const GFC_INTEGER_8 *sptr;
+  const char *sptr;
   /* p.* indicates the pad array.  */
   index_type pcount[GFC_MAX_DIMENSIONS];
   index_type pextent[GFC_MAX_DIMENSIONS];
   index_type pstride[GFC_MAX_DIMENSIONS];
   index_type pdim;
   index_type psize;
-  const GFC_INTEGER_8 *pptr;
+  const char *pptr;
 
-  const GFC_INTEGER_8 *src;
+  const char *src;
   int sempty, pempty, shape_empty;
   index_type shape_data[GFC_MAX_DIMENSIONS];
 
@@ -144,7 +144,7 @@ reshape_8 (gfc_array_i8 * const restrict ret,
           else
             psize = 0;
         }
-      pptr = pad->base_addr;
+      pptr = (char*) pad->base_addr;
     }
   else
     {
@@ -266,8 +266,8 @@ reshape_8 (gfc_array_i8 * const restrict ret,
                      ssize, pad ? (char *)pad->base_addr : NULL, psize);
       return;
     }
-  rptr = ret->base_addr;
-  src = sptr = source->base_addr;
+  rptr = (char*) ret->base_addr;
+  src = sptr = (char*) source->base_addr;
   rstride0 = rstride[0];
   sstride0 = sstride[0];
 
diff --git a/libgfortran/generated/reshape_r10.c 
b/libgfortran/generated/reshape_r10.c
index 4aff14b6cb74..52485c38bf8f 100644
--- a/libgfortran/generated/reshape_r10.c
+++ b/libgfortran/generated/reshape_r10.c
@@ -54,7 +54,7 @@ reshape_r10 (gfc_array_r10 * const restrict ret,
   index_type rsize;
   index_type rs;
   index_type rex;
-  GFC_REAL_10 *rptr;
+  char *rptr;
   /* s.* indicates the source array.  */
   index_type scount[GFC_MAX_DIMENSIONS];
   index_type sextent[GFC_MAX_DIMENSIONS];
@@ -62,16 +62,16 @@ reshape_r10 (gfc_array_r10 * const restrict ret,
   index_type sstride0;
   index_type sdim;
   index_type ssize;
-  const GFC_REAL_10 *sptr;
+  const char *sptr;
   /* p.* indicates the pad array.  */
   index_type pcount[GFC_MAX_DIMENSIONS];
   index_type pextent[GFC_MAX_DIMENSIONS];
   index_type pstride[GFC_MAX_DIMENSIONS];
   index_type pdim;
   index_type psize;
-  const GFC_REAL_10 *pptr;
+  const char *pptr;
 
-  const GFC_REAL_10 *src;
+  const char *src;
   int sempty, pempty, shape_empty;
   index_type shape_data[GFC_MAX_DIMENSIONS];
 
@@ -144,7 +144,7 @@ reshape_r10 (gfc_array_r10 * const restrict ret,
           else
             psize = 0;
         }
-      pptr = pad->base_addr;
+      pptr = (char*) pad->base_addr;
     }
   else
     {
@@ -266,8 +266,8 @@ reshape_r10 (gfc_array_r10 * const restrict ret,
                      ssize, pad ? (char *)pad->base_addr : NULL, psize);
       return;
     }
-  rptr = ret->base_addr;
-  src = sptr = source->base_addr;
+  rptr = (char*) ret->base_addr;
+  src = sptr = (char*) source->base_addr;
   rstride0 = rstride[0];
   sstride0 = sstride[0];
 
diff --git a/libgfortran/generated/reshape_r16.c 
b/libgfortran/generated/reshape_r16.c
index 37d0e6cce551..6f9828b88904 100644
--- a/libgfortran/generated/reshape_r16.c
+++ b/libgfortran/generated/reshape_r16.c
@@ -54,7 +54,7 @@ reshape_r16 (gfc_array_r16 * const restrict ret,
   index_type rsize;
   index_type rs;
   index_type rex;
-  GFC_REAL_16 *rptr;
+  char *rptr;
   /* s.* indicates the source array.  */
   index_type scount[GFC_MAX_DIMENSIONS];
   index_type sextent[GFC_MAX_DIMENSIONS];
@@ -62,16 +62,16 @@ reshape_r16 (gfc_array_r16 * const restrict ret,
   index_type sstride0;
   index_type sdim;
   index_type ssize;
-  const GFC_REAL_16 *sptr;
+  const char *sptr;
   /* p.* indicates the pad array.  */
   index_type pcount[GFC_MAX_DIMENSIONS];
   index_type pextent[GFC_MAX_DIMENSIONS];
   index_type pstride[GFC_MAX_DIMENSIONS];
   index_type pdim;
   index_type psize;
-  const GFC_REAL_16 *pptr;
+  const char *pptr;
 
-  const GFC_REAL_16 *src;
+  const char *src;
   int sempty, pempty, shape_empty;
   index_type shape_data[GFC_MAX_DIMENSIONS];
 
@@ -144,7 +144,7 @@ reshape_r16 (gfc_array_r16 * const restrict ret,
           else
             psize = 0;
         }
-      pptr = pad->base_addr;
+      pptr = (char*) pad->base_addr;
     }
   else
     {
@@ -266,8 +266,8 @@ reshape_r16 (gfc_array_r16 * const restrict ret,
                      ssize, pad ? (char *)pad->base_addr : NULL, psize);
       return;
     }
-  rptr = ret->base_addr;
-  src = sptr = source->base_addr;
+  rptr = (char*) ret->base_addr;
+  src = sptr = (char*) source->base_addr;
   rstride0 = rstride[0];
   sstride0 = sstride[0];
 
diff --git a/libgfortran/generated/reshape_r17.c 
b/libgfortran/generated/reshape_r17.c
index d78bb8b90546..03938615a86c 100644
--- a/libgfortran/generated/reshape_r17.c
+++ b/libgfortran/generated/reshape_r17.c
@@ -54,7 +54,7 @@ reshape_r17 (gfc_array_r17 * const restrict ret,
   index_type rsize;
   index_type rs;
   index_type rex;
-  GFC_REAL_17 *rptr;
+  char *rptr;
   /* s.* indicates the source array.  */
   index_type scount[GFC_MAX_DIMENSIONS];
   index_type sextent[GFC_MAX_DIMENSIONS];
@@ -62,16 +62,16 @@ reshape_r17 (gfc_array_r17 * const restrict ret,
   index_type sstride0;
   index_type sdim;
   index_type ssize;
-  const GFC_REAL_17 *sptr;
+  const char *sptr;
   /* p.* indicates the pad array.  */
   index_type pcount[GFC_MAX_DIMENSIONS];
   index_type pextent[GFC_MAX_DIMENSIONS];
   index_type pstride[GFC_MAX_DIMENSIONS];
   index_type pdim;
   index_type psize;
-  const GFC_REAL_17 *pptr;
+  const char *pptr;
 
-  const GFC_REAL_17 *src;
+  const char *src;
   int sempty, pempty, shape_empty;
   index_type shape_data[GFC_MAX_DIMENSIONS];
 
@@ -144,7 +144,7 @@ reshape_r17 (gfc_array_r17 * const restrict ret,
           else
             psize = 0;
         }
-      pptr = pad->base_addr;
+      pptr = (char*) pad->base_addr;
     }
   else
     {
@@ -266,8 +266,8 @@ reshape_r17 (gfc_array_r17 * const restrict ret,
                      ssize, pad ? (char *)pad->base_addr : NULL, psize);
       return;
     }
-  rptr = ret->base_addr;
-  src = sptr = source->base_addr;
+  rptr = (char*) ret->base_addr;
+  src = sptr = (char*) source->base_addr;
   rstride0 = rstride[0];
   sstride0 = sstride[0];
 
diff --git a/libgfortran/generated/reshape_r4.c 
b/libgfortran/generated/reshape_r4.c
index 3cde4db43196..1bda7c523869 100644
--- a/libgfortran/generated/reshape_r4.c
+++ b/libgfortran/generated/reshape_r4.c
@@ -54,7 +54,7 @@ reshape_r4 (gfc_array_r4 * const restrict ret,
   index_type rsize;
   index_type rs;
   index_type rex;
-  GFC_REAL_4 *rptr;
+  char *rptr;
   /* s.* indicates the source array.  */
   index_type scount[GFC_MAX_DIMENSIONS];
   index_type sextent[GFC_MAX_DIMENSIONS];
@@ -62,16 +62,16 @@ reshape_r4 (gfc_array_r4 * const restrict ret,
   index_type sstride0;
   index_type sdim;
   index_type ssize;
-  const GFC_REAL_4 *sptr;
+  const char *sptr;
   /* p.* indicates the pad array.  */
   index_type pcount[GFC_MAX_DIMENSIONS];
   index_type pextent[GFC_MAX_DIMENSIONS];
   index_type pstride[GFC_MAX_DIMENSIONS];
   index_type pdim;
   index_type psize;
-  const GFC_REAL_4 *pptr;
+  const char *pptr;
 
-  const GFC_REAL_4 *src;
+  const char *src;
   int sempty, pempty, shape_empty;
   index_type shape_data[GFC_MAX_DIMENSIONS];
 
@@ -144,7 +144,7 @@ reshape_r4 (gfc_array_r4 * const restrict ret,
           else
             psize = 0;
         }
-      pptr = pad->base_addr;
+      pptr = (char*) pad->base_addr;
     }
   else
     {
@@ -266,8 +266,8 @@ reshape_r4 (gfc_array_r4 * const restrict ret,
                      ssize, pad ? (char *)pad->base_addr : NULL, psize);
       return;
     }
-  rptr = ret->base_addr;
-  src = sptr = source->base_addr;
+  rptr = (char*) ret->base_addr;
+  src = sptr = (char*) source->base_addr;
   rstride0 = rstride[0];
   sstride0 = sstride[0];
 
diff --git a/libgfortran/generated/reshape_r8.c 
b/libgfortran/generated/reshape_r8.c
index 16c5f520941f..1c3d7a3dc2be 100644
--- a/libgfortran/generated/reshape_r8.c
+++ b/libgfortran/generated/reshape_r8.c
@@ -54,7 +54,7 @@ reshape_r8 (gfc_array_r8 * const restrict ret,
   index_type rsize;
   index_type rs;
   index_type rex;
-  GFC_REAL_8 *rptr;
+  char *rptr;
   /* s.* indicates the source array.  */
   index_type scount[GFC_MAX_DIMENSIONS];
   index_type sextent[GFC_MAX_DIMENSIONS];
@@ -62,16 +62,16 @@ reshape_r8 (gfc_array_r8 * const restrict ret,
   index_type sstride0;
   index_type sdim;
   index_type ssize;
-  const GFC_REAL_8 *sptr;
+  const char *sptr;
   /* p.* indicates the pad array.  */
   index_type pcount[GFC_MAX_DIMENSIONS];
   index_type pextent[GFC_MAX_DIMENSIONS];
   index_type pstride[GFC_MAX_DIMENSIONS];
   index_type pdim;
   index_type psize;
-  const GFC_REAL_8 *pptr;
+  const char *pptr;
 
-  const GFC_REAL_8 *src;
+  const char *src;
   int sempty, pempty, shape_empty;
   index_type shape_data[GFC_MAX_DIMENSIONS];
 
@@ -144,7 +144,7 @@ reshape_r8 (gfc_array_r8 * const restrict ret,
           else
             psize = 0;
         }
-      pptr = pad->base_addr;
+      pptr = (char*) pad->base_addr;
     }
   else
     {
@@ -266,8 +266,8 @@ reshape_r8 (gfc_array_r8 * const restrict ret,
                      ssize, pad ? (char *)pad->base_addr : NULL, psize);
       return;
     }
-  rptr = ret->base_addr;
-  src = sptr = source->base_addr;
+  rptr = (char*) ret->base_addr;
+  src = sptr = (char*) source->base_addr;
   rstride0 = rstride[0];
   sstride0 = sstride[0];

Reply via email to