[all-commits] [llvm/llvm-project] b62605: [flang][runtime] Terminate last partial record aft...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Dec 11 12:25:18 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b62605388c975c3c0649a2d5a51136ffeea86e7b
https://github.com/llvm/llvm-project/commit/b62605388c975c3c0649a2d5a51136ffeea86e7b
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2023-12-11 (Mon, 11 Dec 2023)
Changed paths:
M flang/runtime/unit.cpp
Log Message:
-----------
[flang][runtime] Terminate last partial record after non-advancing write (#74524)
After a non-advancing WRITE to a unit, ensure that any ENDFILE operation
(explicit or implicit) terminates the record. (All other Fortran
implementations do so except XLF.)
Fixes llvm-test-suite/Fortran/gfortran/regression/advance_6.f90.
More information about the All-commits
mailing list