[all-commits] [llvm/llvm-project] 8985cf: [flang][runtime] Fixed identity value for REAL(16)...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Wed Sep 28 10:13:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8985cfd93980a1d7d92699bfefce34e7bf5887fb
      https://github.com/llvm/llvm-project/commit/8985cfd93980a1d7d92699bfefce34e7bf5887fb
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2022-09-28 (Wed, 28 Sep 2022)

  Changed paths:
    M flang/runtime/extrema.cpp
    M flang/unittests/Runtime/Reduction.cpp

  Log Message:
  -----------
  [flang][runtime] Fixed identity value for REAL(16) == __float128.

std::numeric_limits<__float128>::max/lowest return 0.0, so recreate
value of FLT128_MAX ourselves to avoid using quadmath.h's FLT128_MAX
that is currently causes warnings with GCC -Wpedantic.

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




More information about the All-commits mailing list