[all-commits] [llvm/llvm-project] 15e4a3: [flang][runtime] Fix namelist substring checking (...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Jan 25 15:15:32 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 15e4a3c1fb12f09d4f87b9e8bf68cb31de3d0944
https://github.com/llvm/llvm-project/commit/15e4a3c1fb12f09d4f87b9e8bf68cb31de3d0944
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M flang/runtime/namelist.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list