[flang-commits] [PATCH] D126144: [flang] Extension: Accept Hollerith actual arguments as if they were BOZ

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Sat May 21 22:10:15 PDT 2022


klausler created this revision.
klausler added a reviewer: vdonaldson.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.

When a Hollerith (or short character) literal is presented as an actual
argument that corresponds to a dummy argument for which a BOZ literal
would be acceptable, treat the Hollerith as if it had been a BOZ
literal in the same way -- and with the same code -- as f18 already
does for the similar extension in DATA statements.


https://reviews.llvm.org/D126144

Files:
  flang/include/flang/Evaluate/tools.h
  flang/lib/Evaluate/tools.cpp
  flang/lib/Semantics/check-call.cpp
  flang/lib/Semantics/data-to-inits.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126144.431201.patch
Type: text/x-patch
Size: 4392 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220522/e65f60ff/attachment.bin>


More information about the flang-commits mailing list