aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated/minval_r8.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/minval_r8.c')
-rw-r--r--libgfortran/generated/minval_r8.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libgfortran/generated/minval_r8.c b/libgfortran/generated/minval_r8.c
index 0552847..34caf05 100644
--- a/libgfortran/generated/minval_r8.c
+++ b/libgfortran/generated/minval_r8.c
@@ -51,6 +51,10 @@ minval_r8 (gfc_array_r8 * const restrict retarray,
index_type dim;
int continue_loop;
+#ifdef HAVE_BACK_ARG
+ assert(back == 0);
+#endif
+
/* Make dim zero based to avoid confusion. */
rank = GFC_DESCRIPTOR_RANK (array) - 1;
dim = (*pdim) - 1;
@@ -232,6 +236,9 @@ mminval_r8 (gfc_array_r8 * const restrict retarray,
index_type mdelta;
int mask_kind;
+#ifdef HAVE_BACK_ARG
+ assert (back == 0);
+#endif
dim = (*pdim) - 1;
rank = GFC_DESCRIPTOR_RANK (array) - 1;
@@ -441,7 +448,11 @@ sminval_r8 (gfc_array_r8 * const restrict retarray,
if (*mask)
{
+#ifdef HAVE_BACK_ARG
+ minval_r8 (retarray, array, pdim, back);
+#else
minval_r8 (retarray, array, pdim);
+#endif
return;
}
/* Make dim zero based to avoid confusion. */