[all-commits] [llvm/llvm-project] d325c5: [flang] Extension: unrestricted intrinsics as spec...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Aug 8 10:46:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d325c5d00b148ae430b749817bb4182a4af4eeff
      https://github.com/llvm/llvm-project/commit/d325c5d00b148ae430b749817bb4182a4af4eeff
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/lib/Semantics/check-declarations.cpp
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/call16.f90
    M flang/test/Semantics/generic06.f90

  Log Message:
  -----------
  [flang] Extension: unrestricted intrinsics as specifics in generics

At least one other Fortran compiler supports the use of unrestricted intrinsic
functions as specific procedures in generic interfaces, and the usage seems
to be both useful and unambiguous.  Support it with a portability warning.

Fixes llvm-test-suite/Fortran/gfortran/regression/pr95500.f90.

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




More information about the All-commits mailing list