[flang][runtime] Allow already-documented missing 'w' on edit descriptor (#72901)
commitc13f7e17409b6fed29696c2bbe59efc3af3a408b
authorPeter Klausler <35819229+klausler@users.noreply.github.com>
Thu, 30 Nov 2023 20:51:56 +0000 (30 12:51 -0800)
committerGitHub <noreply@github.com>
Thu, 30 Nov 2023 20:51:56 +0000 (30 12:51 -0800)
tree784209b38af293846213460399588fd25f4ee212
parent13386c608e6d571d2d91eea5f7c8fb6911d6dcfb
[flang][runtime] Allow already-documented missing 'w' on edit descriptor (#72901)

As already documented in flang/docs/Extensions.md and implemented in the
compilation-time format validator, we want to support at execution time
the Intel (and presumably also Fujitsu) extension of allowing a missing
width on an edit descriptor in a formatted I/O statement.

Fixes https://github.com/llvm/llvm-project/issues/72597.
flang/runtime/format-implementation.h
flang/unittests/Runtime/Format.cpp