[flang-commits] [flang] b918498 - [flang][NFC] Document non-extension (user ELEMENTAL procedures as actual arguments)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Fri Sep 23 10:58:47 PDT 2022
Author: Peter Klausler
Date: 2022-09-23T10:57:04-07:00
New Revision: b918498193276be7a142a12d4a02d1d2da8e60d9
URL: https://github.com/llvm/llvm-project/commit/b918498193276be7a142a12d4a02d1d2da8e60d9
DIFF: https://github.com/llvm/llvm-project/commit/b918498193276be7a142a12d4a02d1d2da8e60d9.diff
LOG: [flang][NFC] Document non-extension (user ELEMENTAL procedures as actual arguments)
Some Fortran compilers accept user-defined ELEMENTAL procedures as actual
arguments corresponding to (necessarily) non-ELEMENTAL dummy procedures;
most do not, and f18 is one of them. Document the fact that this is not
a supported extension.
Differential Revision: https://reviews.llvm.org/D134399
Added:
Modified:
flang/docs/Extensions.md
Removed:
################################################################################
diff --git a/flang/docs/Extensions.md b/flang/docs/Extensions.md
index 45eea70297f68..09b56080832df 100644
--- a/flang/docs/Extensions.md
+++ b/flang/docs/Extensions.md
@@ -314,6 +314,9 @@ end
* VMS listing control directives (`%LIST`, `%NOLIST`, `%EJECT`)
* Continuation lines on `INCLUDE` lines
* `NULL()` actual argument corresponding to an `ALLOCATABLE` dummy data object
+* User (non-intrinsic) `ELEMENTAL` procedures may not be passed as actual
+ arguments, in accordance with the standard; some Fortran compilers
+ permit such usage.
## Preprocessing behavior
More information about the flang-commits
mailing list