diff options
Diffstat (limited to 'libgfortran/generated/minloc1_4_i1.c')
-rw-r--r-- | libgfortran/generated/minloc1_4_i1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/generated/minloc1_4_i1.c b/libgfortran/generated/minloc1_4_i1.c index 433a25a..4274e70 100644 --- a/libgfortran/generated/minloc1_4_i1.c +++ b/libgfortran/generated/minloc1_4_i1.c @@ -280,8 +280,8 @@ mminloc1_4_i1 (gfc_array_i4 * const restrict retarray, } len = GFC_DESCRIPTOR_EXTENT(array,dim); - if (len <= 0) - return; + if (len < 0) + len = 0; mbase = mask->base_addr; |