[llvm-bugs] [Bug 47685] New: ieee_arithmetic is not fully implemented

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 29 21:00:17 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47685

            Bug ID: 47685
           Summary: ieee_arithmetic is not fully implemented
           Product: flang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedbugs at nondot.org
          Reporter: i.s.ger at ya.ru
                CC: David.Truby at arm.com, jperier at nvidia.com,
                    kirankumartp at gmail.com, llvm-bugs at lists.llvm.org,
                    sscalpone at nvidia.com

I have tried to compile the following code:

real(kind=8) function qNaN()
    use, intrinsic :: ieee_arithmetic, only: ieee_value, ieee_quiet_NaN
    implicit none
    qNaN = ieee_value(qNaN, ieee_quiet_NaN)
end function qNaN

And I got the following output:

:2:46: error: 'ieee_value' not found in module 'ieee_arithmetic'
      use, intrinsic :: ieee_arithmetic, only: ieee_value, ieee_quiet_NaN

As I can see here
(https://github.com/llvm/llvm-project/blob/release/11.x/flang/module/ieee_arithmetic.f90),
ieee_value is not implemented yet.

Locally tested version is commit d2166076b882e38becf3657ea830ffd2b6a5695e of
llvm-project.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200930/dd86f083/attachment-0001.html>


More information about the llvm-bugs mailing list