Commit 15e4a3c
authored
[flang][runtime] Fix namelist substring checking (#78649)
An || operator in namelist substring bounds checking really needs to be
an && operator so that the substring is viewed as correct only when both
its bounds are valid.
Fixes llvm-test-suite/Fortran/gfortran/regression/namelist_40.f90.1 parent b788d62 commit 15e4a3c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
0 commit comments