[all-commits] [llvm/llvm-project] 574f9d: [flang] Extension: Accept Hollerith actual argumen...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue May 24 09:04:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 574f9dfee86a8084b8fca43c850f8a3387c6c68b
      https://github.com/llvm/llvm-project/commit/574f9dfee86a8084b8fca43c850f8a3387c6c68b
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-05-24 (Tue, 24 May 2022)

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

  Log Message:
  -----------
  [flang] Extension: Accept Hollerith actual arguments as if they were BOZ

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.

Differential Revision: https://reviews.llvm.org/D126144




More information about the All-commits mailing list