[all-commits] [llvm/llvm-project] 87ac65: [flang] Match the length size in comparison (NFC) ...

madanial0 via All-commits all-commits at lists.llvm.org
Thu Jan 18 07:18:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87ac65a99482ba2563b2b4b0856bf6cb0f7f7fda
      https://github.com/llvm/llvm-project/commit/87ac65a99482ba2563b2b4b0856bf6cb0f7f7fda
  Author: madanial0 <118996571+madanial0 at users.noreply.github.com>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

  Changed paths:
    M flang/unittests/Runtime/CommandTest.cpp

  Log Message:
  -----------
  [flang] Match the length size in comparison (NFC) (#78302)

The template function call CheckDescriptorEqInt((exitStat.get(), 127) is
deduced to have INT_T equal to std::int32_t instead of std::int64_t, but
the length descriptor points to a 64-byte storage. The comparison does
not work in a big endian.

Co-authored-by: Mark Danial <mark.danial at ibm.com>




More information about the All-commits mailing list