https://gcc.gnu.org/g:f421770f43b1c9da4b92f79f5b7cd90524a6ed71
commit f421770f43b1c9da4b92f79f5b7cd90524a6ed71 Author: Mikael Morin <[email protected]> Date: Fri Nov 6 21:51:49 2026 +0100 Sauvegarde fichiers générés Diff: --- libgfortran/generated/in_pack_c10.c | 4 +++- libgfortran/generated/in_pack_c16.c | 4 +++- libgfortran/generated/in_pack_c17.c | 4 +++- libgfortran/generated/in_pack_c4.c | 4 +++- libgfortran/generated/in_pack_c8.c | 4 +++- libgfortran/generated/in_pack_i1.c | 4 +++- libgfortran/generated/in_pack_i16.c | 4 +++- libgfortran/generated/in_pack_i2.c | 4 +++- libgfortran/generated/in_pack_i4.c | 4 +++- libgfortran/generated/in_pack_i8.c | 4 +++- libgfortran/generated/in_pack_r10.c | 4 +++- libgfortran/generated/in_pack_r16.c | 4 +++- libgfortran/generated/in_pack_r17.c | 4 +++- libgfortran/generated/in_pack_r4.c | 4 +++- libgfortran/generated/in_pack_r8.c | 4 +++- 15 files changed, 45 insertions(+), 15 deletions(-) diff --git a/libgfortran/generated/in_pack_c10.c b/libgfortran/generated/in_pack_c10.c index 022ebec6dfb1..6a404fdd7f58 100644 --- a/libgfortran/generated/in_pack_c10.c +++ b/libgfortran/generated/in_pack_c10.c @@ -40,6 +40,7 @@ internal_pack_c10 (gfc_array_c10 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_COMPLEX_10 *src; GFC_COMPLEX_10 * restrict dest; GFC_COMPLEX_10 *destptr; @@ -49,12 +50,13 @@ internal_pack_c10 (gfc_array_c10 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_COMPLEX_10); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) { diff --git a/libgfortran/generated/in_pack_c16.c b/libgfortran/generated/in_pack_c16.c index a6c217531a6b..d22100a050c4 100644 --- a/libgfortran/generated/in_pack_c16.c +++ b/libgfortran/generated/in_pack_c16.c @@ -40,6 +40,7 @@ internal_pack_c16 (gfc_array_c16 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_COMPLEX_16 *src; GFC_COMPLEX_16 * restrict dest; GFC_COMPLEX_16 *destptr; @@ -49,12 +50,13 @@ internal_pack_c16 (gfc_array_c16 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_COMPLEX_16); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) { diff --git a/libgfortran/generated/in_pack_c17.c b/libgfortran/generated/in_pack_c17.c index 6f5f8af7916e..b19c8796ac2d 100644 --- a/libgfortran/generated/in_pack_c17.c +++ b/libgfortran/generated/in_pack_c17.c @@ -40,6 +40,7 @@ internal_pack_c17 (gfc_array_c17 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_COMPLEX_17 *src; GFC_COMPLEX_17 * restrict dest; GFC_COMPLEX_17 *destptr; @@ -49,12 +50,13 @@ internal_pack_c17 (gfc_array_c17 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_COMPLEX_17); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) { diff --git a/libgfortran/generated/in_pack_c4.c b/libgfortran/generated/in_pack_c4.c index 624193121c3e..3859ad6c25da 100644 --- a/libgfortran/generated/in_pack_c4.c +++ b/libgfortran/generated/in_pack_c4.c @@ -40,6 +40,7 @@ internal_pack_c4 (gfc_array_c4 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_COMPLEX_4 *src; GFC_COMPLEX_4 * restrict dest; GFC_COMPLEX_4 *destptr; @@ -49,12 +50,13 @@ internal_pack_c4 (gfc_array_c4 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_COMPLEX_4); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) { diff --git a/libgfortran/generated/in_pack_c8.c b/libgfortran/generated/in_pack_c8.c index 3a682f38effa..5d0627e3d7fd 100644 --- a/libgfortran/generated/in_pack_c8.c +++ b/libgfortran/generated/in_pack_c8.c @@ -40,6 +40,7 @@ internal_pack_c8 (gfc_array_c8 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_COMPLEX_8 *src; GFC_COMPLEX_8 * restrict dest; GFC_COMPLEX_8 *destptr; @@ -49,12 +50,13 @@ internal_pack_c8 (gfc_array_c8 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_COMPLEX_8); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) { diff --git a/libgfortran/generated/in_pack_i1.c b/libgfortran/generated/in_pack_i1.c index 3c95030fc4fd..5798a6317304 100644 --- a/libgfortran/generated/in_pack_i1.c +++ b/libgfortran/generated/in_pack_i1.c @@ -40,6 +40,7 @@ internal_pack_1 (gfc_array_i1 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_INTEGER_1 *src; GFC_INTEGER_1 * restrict dest; GFC_INTEGER_1 *destptr; @@ -49,12 +50,13 @@ internal_pack_1 (gfc_array_i1 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_INTEGER_1); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) { diff --git a/libgfortran/generated/in_pack_i16.c b/libgfortran/generated/in_pack_i16.c index 3e949092d5d3..0550e213973c 100644 --- a/libgfortran/generated/in_pack_i16.c +++ b/libgfortran/generated/in_pack_i16.c @@ -40,6 +40,7 @@ internal_pack_16 (gfc_array_i16 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_INTEGER_16 *src; GFC_INTEGER_16 * restrict dest; GFC_INTEGER_16 *destptr; @@ -49,12 +50,13 @@ internal_pack_16 (gfc_array_i16 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_INTEGER_16); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) { diff --git a/libgfortran/generated/in_pack_i2.c b/libgfortran/generated/in_pack_i2.c index 2b29504cbccb..46c44c6b4ef9 100644 --- a/libgfortran/generated/in_pack_i2.c +++ b/libgfortran/generated/in_pack_i2.c @@ -40,6 +40,7 @@ internal_pack_2 (gfc_array_i2 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_INTEGER_2 *src; GFC_INTEGER_2 * restrict dest; GFC_INTEGER_2 *destptr; @@ -49,12 +50,13 @@ internal_pack_2 (gfc_array_i2 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_INTEGER_2); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) { diff --git a/libgfortran/generated/in_pack_i4.c b/libgfortran/generated/in_pack_i4.c index 78cc81f95965..bc1470c6c38b 100644 --- a/libgfortran/generated/in_pack_i4.c +++ b/libgfortran/generated/in_pack_i4.c @@ -40,6 +40,7 @@ internal_pack_4 (gfc_array_i4 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_INTEGER_4 *src; GFC_INTEGER_4 * restrict dest; GFC_INTEGER_4 *destptr; @@ -49,12 +50,13 @@ internal_pack_4 (gfc_array_i4 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_INTEGER_4); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) { diff --git a/libgfortran/generated/in_pack_i8.c b/libgfortran/generated/in_pack_i8.c index fc4d1d5bbc04..b2193cc0da82 100644 --- a/libgfortran/generated/in_pack_i8.c +++ b/libgfortran/generated/in_pack_i8.c @@ -40,6 +40,7 @@ internal_pack_8 (gfc_array_i8 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_INTEGER_8 *src; GFC_INTEGER_8 * restrict dest; GFC_INTEGER_8 *destptr; @@ -49,12 +50,13 @@ internal_pack_8 (gfc_array_i8 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_INTEGER_8); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) { diff --git a/libgfortran/generated/in_pack_r10.c b/libgfortran/generated/in_pack_r10.c index c7b60c154f96..3ffe2ad4c9bc 100644 --- a/libgfortran/generated/in_pack_r10.c +++ b/libgfortran/generated/in_pack_r10.c @@ -40,6 +40,7 @@ internal_pack_r10 (gfc_array_r10 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_REAL_10 *src; GFC_REAL_10 * restrict dest; GFC_REAL_10 *destptr; @@ -49,12 +50,13 @@ internal_pack_r10 (gfc_array_r10 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_REAL_10); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) { diff --git a/libgfortran/generated/in_pack_r16.c b/libgfortran/generated/in_pack_r16.c index 7520003a0fb2..60a4a5bd7e15 100644 --- a/libgfortran/generated/in_pack_r16.c +++ b/libgfortran/generated/in_pack_r16.c @@ -40,6 +40,7 @@ internal_pack_r16 (gfc_array_r16 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_REAL_16 *src; GFC_REAL_16 * restrict dest; GFC_REAL_16 *destptr; @@ -49,12 +50,13 @@ internal_pack_r16 (gfc_array_r16 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_REAL_16); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) { diff --git a/libgfortran/generated/in_pack_r17.c b/libgfortran/generated/in_pack_r17.c index cad12f53fac7..731630410e6b 100644 --- a/libgfortran/generated/in_pack_r17.c +++ b/libgfortran/generated/in_pack_r17.c @@ -40,6 +40,7 @@ internal_pack_r17 (gfc_array_r17 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_REAL_17 *src; GFC_REAL_17 * restrict dest; GFC_REAL_17 *destptr; @@ -49,12 +50,13 @@ internal_pack_r17 (gfc_array_r17 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_REAL_17); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) { diff --git a/libgfortran/generated/in_pack_r4.c b/libgfortran/generated/in_pack_r4.c index 3ded7e9cd377..eb859765456c 100644 --- a/libgfortran/generated/in_pack_r4.c +++ b/libgfortran/generated/in_pack_r4.c @@ -40,6 +40,7 @@ internal_pack_r4 (gfc_array_r4 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_REAL_4 *src; GFC_REAL_4 * restrict dest; GFC_REAL_4 *destptr; @@ -49,12 +50,13 @@ internal_pack_r4 (gfc_array_r4 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_REAL_4); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) { diff --git a/libgfortran/generated/in_pack_r8.c b/libgfortran/generated/in_pack_r8.c index 8f0a3f0f33de..96c2e8df1b85 100644 --- a/libgfortran/generated/in_pack_r8.c +++ b/libgfortran/generated/in_pack_r8.c @@ -40,6 +40,7 @@ internal_pack_r8 (gfc_array_r8 * source) index_type stride0; index_type dim; index_type ssize; + index_type span_units; const GFC_REAL_8 *src; GFC_REAL_8 * restrict dest; GFC_REAL_8 *destptr; @@ -49,12 +50,13 @@ internal_pack_r8 (gfc_array_r8 * source) since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); + span_units = GFC_DESCRIPTOR_SPAN (source) / sizeof (GFC_REAL_8); ssize = 1; packed = 1; for (index_type n = 0; n < dim; n++) { count[n] = 0; - stride[n] = GFC_DESCRIPTOR_STRIDE(source,n); + stride[n] = GFC_DESCRIPTOR_STRIDE(source,n) * span_units; extent[n] = GFC_DESCRIPTOR_EXTENT(source,n); if (extent[n] <= 0) {
