[all-commits] [llvm/llvm-project] 00e0de: [flang] Extension: initialization of LOGICAL with ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jan 13 14:23:02 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00e0de05723a0eee491d4a1ddad69b7fe5265805
      https://github.com/llvm/llvm-project/commit/00e0de05723a0eee491d4a1ddad69b7fe5265805
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-01-13 (Thu, 13 Jan 2022)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Evaluate/logical.h
    M flang/include/flang/Evaluate/tools.h
    M flang/include/flang/Semantics/semantics.h
    M flang/lib/Evaluate/check-expression.cpp
    M flang/lib/Evaluate/formatting.cpp
    M flang/lib/Evaluate/tools.cpp
    M flang/lib/Semantics/data-to-inits.cpp
    M flang/lib/Semantics/semantics.cpp
    M flang/test/Semantics/data06.f90
    A flang/test/Semantics/data15.f90

  Log Message:
  -----------
  [flang] Extension: initialization of LOGICAL with INTEGER & vice versa

We already accept assignments of INTEGER to LOGICAL (& vice versa)
as an extension, but not initialization.  Extend initialization
to cover those cases.

(Also fix misspelling in nearby comment as suggested by code reviewer.)

Decouple an inadvertent dependence cycle by moving two
one-line function definitions into a header file.

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




More information about the All-commits mailing list