aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated/iany_i16.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/iany_i16.c')
-rw-r--r--libgfortran/generated/iany_i16.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/generated/iany_i16.c b/libgfortran/generated/iany_i16.c
index d690dff6..8fda0ef 100644
--- a/libgfortran/generated/iany_i16.c
+++ b/libgfortran/generated/iany_i16.c
@@ -242,8 +242,8 @@ miany_i16 (gfc_array_i16 * const restrict retarray,
}
len = GFC_DESCRIPTOR_EXTENT(array,dim);
- if (len <= 0)
- return;
+ if (len < 0)
+ len = 0;
mbase = mask->base_addr;