[flang-commits] [PATCH] D157333: [flang] Extension: unrestricted intrinsics as specifics in generics

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon Aug 7 14:44:13 PDT 2023


klausler created this revision.
klausler added a reviewer: vdonaldson.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.

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.


https://reviews.llvm.org/D157333

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157333.547955.patch
Type: text/x-patch
Size: 6164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230807/feeea6d6/attachment-0001.bin>


More information about the flang-commits mailing list