https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119827
--- Comment #5 from Visagan Ravindran ---
(In reply to anlauf from comment #4)
> (In reply to kargls from comment #3)
> > (In reply to Visagan Ravindran from comment #2)
> > > Thank you for your reply. A colleague informed me that the NAG compil
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119827
--- Comment #2 from Visagan Ravindran ---
(In reply to kargls from comment #1)
> Perhaps, a review of the Fortran standard is in order.
>
>F2023, 9.4.1
>
>R910 substring-range is [ scalar-int-expr ] : [ scalar-int-expr ]
>
>The v
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119827
Bug ID: 119827
Summary: Out of bounds check fails on substrings for upper
bound
Product: gcc
Version: 14.2.1
Status: UNCONFIRMED
Severity: normal
Pri