[all-commits] [llvm/llvm-project] d49808: [flang] Intrinsic module procedure pure prefixes

vdonaldson via All-commits all-commits at lists.llvm.org
Mon Jun 13 16:36:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d4980803b63cddd041bb8798cd3ca61fc8b4e3fd
      https://github.com/llvm/llvm-project/commit/d4980803b63cddd041bb8798cd3ca61fc8b4e3fd
  Author: V Donaldson <vdonaldson at nvidia.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M flang/module/__fortran_ieee_exceptions.f90
    M flang/module/ieee_arithmetic.f90

  Log Message:
  -----------
  [flang] Intrinsic module procedure pure prefixes

Per 7.11.1p1 - All [ieee_arithmetic and ieee_exceptions] functions are
pure and all the subroutines are impure unless otherwise stated.  Most of
these functions are elemental (and not impure), which implies pure.
Several of the remaining non-elemental functions are missing pure prefixes;
add them.




More information about the All-commits mailing list