diff options
Diffstat (limited to 'gcc/fortran/resolve.c')
-rw-r--r-- | gcc/fortran/resolve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c index b5813a7..23b5a2b 100644 --- a/gcc/fortran/resolve.c +++ b/gcc/fortran/resolve.c @@ -5318,7 +5318,7 @@ gfc_resolve_ref (gfc_expr *expr) { array_ref->u.ar.type = AR_ELEMENT; expr->rank = 0; - /* INQUIRY_LEN is not evaluated from the the rest of the expr + /* INQUIRY_LEN is not evaluated from the rest of the expr but directly from the string length. This means that setting the array indices to one does not matter but might trigger a runtime bounds error. Suppress the check. */ |