https://gcc.gnu.org/g:9899cf7d70cb7e338428f6b58620864af50fd5c8
commit 9899cf7d70cb7e338428f6b58620864af50fd5c8 Author: Mikael Morin <[email protected]> Date: Tue Sep 9 22:15:51 2025 +0200 Régénération fichiers générés Diff: --- libgfortran/generated/findloc0_c10.c | 22 +++++++++++----------- libgfortran/generated/findloc0_c16.c | 22 +++++++++++----------- libgfortran/generated/findloc0_c17.c | 22 +++++++++++----------- libgfortran/generated/findloc0_c4.c | 22 +++++++++++----------- libgfortran/generated/findloc0_c8.c | 22 +++++++++++----------- libgfortran/generated/findloc0_i1.c | 22 +++++++++++----------- libgfortran/generated/findloc0_i16.c | 22 +++++++++++----------- libgfortran/generated/findloc0_i2.c | 22 +++++++++++----------- libgfortran/generated/findloc0_i4.c | 22 +++++++++++----------- libgfortran/generated/findloc0_i8.c | 22 +++++++++++----------- libgfortran/generated/findloc0_r10.c | 22 +++++++++++----------- libgfortran/generated/findloc0_r16.c | 22 +++++++++++----------- libgfortran/generated/findloc0_r17.c | 22 +++++++++++----------- libgfortran/generated/findloc0_r4.c | 22 +++++++++++----------- libgfortran/generated/findloc0_r8.c | 22 +++++++++++----------- libgfortran/generated/findloc0_s1.c | 22 +++++++++++----------- libgfortran/generated/findloc0_s4.c | 22 +++++++++++----------- 17 files changed, 187 insertions(+), 187 deletions(-) diff --git a/libgfortran/generated/findloc0_c10.c b/libgfortran/generated/findloc0_c10.c index 0607524e68fb..679be94d1560 100644 --- a/libgfortran/generated/findloc0_c10.c +++ b/libgfortran/generated/findloc0_c10.c @@ -112,14 +112,14 @@ findloc0_c10 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_c10 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_c10 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_c10 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_c10 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_c10 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_c10 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_c10 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_c10 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_c16.c b/libgfortran/generated/findloc0_c16.c index 5becb239e3b4..cd7366529f89 100644 --- a/libgfortran/generated/findloc0_c16.c +++ b/libgfortran/generated/findloc0_c16.c @@ -112,14 +112,14 @@ findloc0_c16 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_c16 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_c16 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_c16 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_c16 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_c16 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_c16 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_c16 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_c16 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_c17.c b/libgfortran/generated/findloc0_c17.c index f55020dab1ba..2dfb4ae2264a 100644 --- a/libgfortran/generated/findloc0_c17.c +++ b/libgfortran/generated/findloc0_c17.c @@ -112,14 +112,14 @@ findloc0_c17 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_c17 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_c17 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_c17 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_c17 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_c17 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_c17 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_c17 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_c17 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_c4.c b/libgfortran/generated/findloc0_c4.c index d6c75e6ddbe9..0d53478ce76c 100644 --- a/libgfortran/generated/findloc0_c4.c +++ b/libgfortran/generated/findloc0_c4.c @@ -112,14 +112,14 @@ findloc0_c4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_c4 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_c4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_c4 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_c4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_c4 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_c4 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_c4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_c4 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_c8.c b/libgfortran/generated/findloc0_c8.c index 4eee99759ee8..2ce36696d8bc 100644 --- a/libgfortran/generated/findloc0_c8.c +++ b/libgfortran/generated/findloc0_c8.c @@ -112,14 +112,14 @@ findloc0_c8 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_c8 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_c8 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_c8 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_c8 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_c8 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_c8 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_c8 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_c8 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_i1.c b/libgfortran/generated/findloc0_i1.c index 562ee866bc6d..6a54cc857703 100644 --- a/libgfortran/generated/findloc0_i1.c +++ b/libgfortran/generated/findloc0_i1.c @@ -112,14 +112,14 @@ findloc0_i1 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_i1 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_i1 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_i1 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_i1 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_i1 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_i1 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_i1 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_i1 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_i16.c b/libgfortran/generated/findloc0_i16.c index f2c1666966ce..c438dc95c974 100644 --- a/libgfortran/generated/findloc0_i16.c +++ b/libgfortran/generated/findloc0_i16.c @@ -112,14 +112,14 @@ findloc0_i16 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_i16 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_i16 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_i16 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_i16 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_i16 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_i16 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_i16 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_i16 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_i2.c b/libgfortran/generated/findloc0_i2.c index c688b10d1191..d85edb4a9bf9 100644 --- a/libgfortran/generated/findloc0_i2.c +++ b/libgfortran/generated/findloc0_i2.c @@ -112,14 +112,14 @@ findloc0_i2 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_i2 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_i2 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_i2 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_i2 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_i2 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_i2 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_i2 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_i2 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_i4.c b/libgfortran/generated/findloc0_i4.c index 97310158fa04..38949f987b00 100644 --- a/libgfortran/generated/findloc0_i4.c +++ b/libgfortran/generated/findloc0_i4.c @@ -112,14 +112,14 @@ findloc0_i4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_i4 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_i4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_i4 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_i4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_i4 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_i4 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_i4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_i4 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_i8.c b/libgfortran/generated/findloc0_i8.c index f72cad57b5ee..38c93a070893 100644 --- a/libgfortran/generated/findloc0_i8.c +++ b/libgfortran/generated/findloc0_i8.c @@ -112,14 +112,14 @@ findloc0_i8 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_i8 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_i8 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_i8 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_i8 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_i8 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_i8 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_i8 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_i8 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_r10.c b/libgfortran/generated/findloc0_r10.c index 5fb222b3e2a3..37b8f11d595d 100644 --- a/libgfortran/generated/findloc0_r10.c +++ b/libgfortran/generated/findloc0_r10.c @@ -112,14 +112,14 @@ findloc0_r10 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_r10 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_r10 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_r10 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_r10 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_r10 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_r10 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_r10 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_r10 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_r16.c b/libgfortran/generated/findloc0_r16.c index e8ac0f349477..cf55adaa6c56 100644 --- a/libgfortran/generated/findloc0_r16.c +++ b/libgfortran/generated/findloc0_r16.c @@ -112,14 +112,14 @@ findloc0_r16 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_r16 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_r16 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_r16 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_r16 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_r16 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_r16 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_r16 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_r16 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_r17.c b/libgfortran/generated/findloc0_r17.c index f4c5ebcb46c2..5dbd921f4562 100644 --- a/libgfortran/generated/findloc0_r17.c +++ b/libgfortran/generated/findloc0_r17.c @@ -112,14 +112,14 @@ findloc0_r17 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_r17 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_r17 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_r17 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_r17 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_r17 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_r17 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_r17 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_r17 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_r4.c b/libgfortran/generated/findloc0_r4.c index 18a610c12efd..30f1079d548a 100644 --- a/libgfortran/generated/findloc0_r4.c +++ b/libgfortran/generated/findloc0_r4.c @@ -112,14 +112,14 @@ findloc0_r4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_r4 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_r4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_r4 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_r4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_r4 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_r4 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_r4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_r4 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_r8.c b/libgfortran/generated/findloc0_r8.c index 9ac2b7960667..bcff616bf62a 100644 --- a/libgfortran/generated/findloc0_r8.c +++ b/libgfortran/generated/findloc0_r8.c @@ -112,14 +112,14 @@ findloc0_r8 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -138,7 +138,7 @@ findloc0_r8 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -149,14 +149,14 @@ findloc0_r8 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -258,7 +258,7 @@ mfindloc0_r8 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * 1); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -270,7 +270,7 @@ mfindloc0_r8 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -278,7 +278,7 @@ mfindloc0_r8 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -298,7 +298,7 @@ mfindloc0_r8 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * 1); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -310,7 +310,7 @@ mfindloc0_r8 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * 1); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -318,7 +318,7 @@ mfindloc0_r8 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* 1); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_s1.c b/libgfortran/generated/findloc0_s1.c index 4876b8d9409d..242daf942d79 100644 --- a/libgfortran/generated/findloc0_s1.c +++ b/libgfortran/generated/findloc0_s1.c @@ -113,14 +113,14 @@ findloc0_s1 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * len_array); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * len_array); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -139,7 +139,7 @@ findloc0_s1 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * len_array); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -150,14 +150,14 @@ findloc0_s1 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * len_array); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * len_array); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -261,7 +261,7 @@ mfindloc0_s1 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * len_array); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -273,7 +273,7 @@ mfindloc0_s1 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * len_array); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -281,7 +281,7 @@ mfindloc0_s1 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * len_array); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -301,7 +301,7 @@ mfindloc0_s1 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * len_array); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -313,7 +313,7 @@ mfindloc0_s1 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * len_array); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -321,7 +321,7 @@ mfindloc0_s1 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* len_array); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); diff --git a/libgfortran/generated/findloc0_s4.c b/libgfortran/generated/findloc0_s4.c index f90cd011f76b..3a92d6f5d5aa 100644 --- a/libgfortran/generated/findloc0_s4.c +++ b/libgfortran/generated/findloc0_s4.c @@ -113,14 +113,14 @@ findloc0_s4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * len_array); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * len_array); + PTR_DECREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -139,7 +139,7 @@ findloc0_s4 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * len_array); + PTR_INCREMENT_BYTES (base, sstride[0]); } while(++count[0] != extent[0]); n = 0; @@ -150,14 +150,14 @@ findloc0_s4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * len_array); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); n++; if (n >= rank) return; else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n] * len_array); + PTR_INCREMENT_BYTES (base, sstride[n]); } } while (count[n] == extent[n]); } @@ -261,7 +261,7 @@ mfindloc0_s4 (gfc_array_index_type * const restrict retarray, return; } - PTR_DECREMENT_BYTES (base, sstride[0] * len_array); + PTR_DECREMENT_BYTES (base, sstride[0]); mbase -= mstride[0]; } while(++count[0] != extent[0]); @@ -273,7 +273,7 @@ mfindloc0_s4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_INCREMENT_BYTES (base, sstride[n] * extent[n] * len_array); + PTR_INCREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -281,7 +281,7 @@ mfindloc0_s4 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_DECREMENT_BYTES (base, sstride[n] * len_array); + PTR_DECREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]); @@ -301,7 +301,7 @@ mfindloc0_s4 (gfc_array_index_type * const restrict retarray, return; } - PTR_INCREMENT_BYTES (base, sstride[0] * len_array); + PTR_INCREMENT_BYTES (base, sstride[0]); mbase += mstride[0]; } while(++count[0] != extent[0]); @@ -313,7 +313,7 @@ mfindloc0_s4 (gfc_array_index_type * const restrict retarray, count[n] = 0; /* We could precalculate these products, but this is a less frequently used path so probably not worth it. */ - PTR_DECREMENT_BYTES (base, sstride[n] * extent[n] * len_array); + PTR_DECREMENT_BYTES (base, sstride[n] * extent[n]); mbase -= mstride[n] * extent[n]; n++; if (n >= rank) @@ -321,7 +321,7 @@ mfindloc0_s4 (gfc_array_index_type * const restrict retarray, else { count[n]++; - PTR_INCREMENT_BYTES (base, sstride[n]* len_array); + PTR_INCREMENT_BYTES (base, sstride[n]); mbase += mstride[n]; } } while (count[n] == extent[n]);
