diff options
| author | TMJ <tedmjohnson@protonmail.com> | 2026-01-08 11:28:48 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-08 13:28:48 -0500 |
| commit | fcec9ced47c5b1e2479fa86f7b51a73ba6feb3f7 (patch) | |
| tree | 54f22fcd04ad545982ae21c7a7537620032f427f /lldb/test/Shell/ScriptInterpreter/Python | |
| parent | 39dd1fd5e163dd9c3f626377ed55faecd592f803 (diff) | |
| download | llvm-fcec9ced47c5b1e2479fa86f7b51a73ba6feb3f7.zip llvm-fcec9ced47c5b1e2479fa86f7b51a73ba6feb3f7.tar.gz llvm-fcec9ced47c5b1e2479fa86f7b51a73ba6feb3f7.tar.bz2 | |
[flang] Do not error on constant nonzero UB in substring of ZLA (#174511)
A substring reference where the lower bound is higher than the upper
bound is defined in 9.4.1 to be zero-length.
Thus, a reference to a substring of a CHARACTER*(0) string such as
string(foo():2)
cannot be a compile-time error since we do not know the return value of
foo().
We also should not error if the lbound > ubound at compile time.
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
