[Bug fortran/119827] Out of bounds check fails on substrings for upper bound

2025-04-16 Thread v2000kiara at gmail dot com via Gcc-bugs
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

[Bug fortran/119827] Out of bounds check fails on substrings for upper bound

2025-04-16 Thread v2000kiara at gmail dot com via Gcc-bugs
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

[Bug fortran/119827] New: Out of bounds check fails on substrings for upper bound

2025-04-15 Thread v2000kiara at gmail dot com via Gcc-bugs
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