[llvm] [flang][runtime] Handle empty NAMELIST value list (PR #151770)

Peter Klausler via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 4 11:17:16 PDT 2025


klausler wrote:

> How does checking if the handler has signalled an error correspond to the empty list? It isn't obvious where there error is coming from, though I assume if I stared at the code long enough I would be able to figure it out.

The original code was assuming that there must have been an error if no items had been read.  But sometimes there are just no items in the input to be read, and this is not an error.

https://github.com/llvm/llvm-project/pull/151770


More information about the llvm-commits mailing list