Fortran defines LEN(X) = 0 after CHARACTER(LEN=-1)::X so
apply MAX(0, ...) to character length expressions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D114030
[flang] Deal with negative character lengths in semantics ClosedPublic Authored by klausler on Nov 16 2021, 1:50 PM.
Details Summary Fortran defines LEN(X) = 0 after CHARACTER(LEN=-1)::X so
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 17 2021, 12:45 AM Closed by commit rG78d60094c741: [flang] Deal with negative character lengths in semantics (authored by klausler). · Explain WhyNov 17 2021, 9:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 387973 flang/include/flang/Evaluate/tools.h
flang/lib/Evaluate/variable.cpp
flang/lib/Semantics/runtime-type-info.cpp
|