diff options
author | Peter Klausler <35819229+klausler@users.noreply.github.com> | 2024-07-11 12:29:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-11 12:29:58 -0700 |
commit | 2d7e136fc0e31207b962397250bc1581203c8d59 (patch) | |
tree | 85b9f001055bfa54bac9b2de037e95c6ea136f78 /libc/src/stdlib/rand.cpp | |
parent | 7f2a5dfe35f8bbaca2819644c7aa844f938befd6 (diff) | |
download | llvm-2d7e136fc0e31207b962397250bc1581203c8d59.zip llvm-2d7e136fc0e31207b962397250bc1581203c8d59.tar.gz llvm-2d7e136fc0e31207b962397250bc1581203c8d59.tar.bz2 |
[flang] Adjust semantics of the char length of an array constructor (#97337)
An implied DO loop with no trips in an array constructor does not have a
well-defined character length unless its data items have a length that
is constant expression. That works, but the implementation is too
broadly applied. An array constructor with an explicit type-spec always
has a well-defined length.
Diffstat (limited to 'libc/src/stdlib/rand.cpp')
0 files changed, 0 insertions, 0 deletions