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: unassignedb...@nondot.org
          Reporter: i.s....@ya.ru
                CC: david.tr...@arm.com, jper...@nvidia.com,
                    kirankuma...@gmail.com, llvm-bugs@lists.llvm.org,
                    sscalp...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to