Files
clang-p2996/flang/test/Semantics/structconst02.f90
Peter Klausler 7ea78643fe [flang] Improve error message output (#102324)
When a local character variable with non-constant length has an
initializer, it's an error in a couple of ways (SAVE variable with
unknown size, static initializer that isn't constant due to conversion
to an unknown length). The error that f18 reports is the latter, but the
message contains a formatted representation of the initialization
expression that exposes a non-Fortran %SET_LENGTH() operation. Print the
original expression in the message instead.
2024-08-08 11:08:48 -07:00

2.0 KiB