[flang-commits] [flang] [flang][docs] Extensions.md audit (PR #202331)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Fri Jun 19 10:14:56 PDT 2026
================
@@ -529,6 +529,51 @@ end program
* When the argument to intrinsic `ALLOCATED(p)` is actually a pointer
rather than an allocatable, it is interpreted as `ASSOCIATED(p)` with a
stern warning.
+* PowerPC `VECTOR(type)`, `__VECTOR_PAIR`, and `__VECTOR_QUAD` type specifiers
+ are accepted as an altivec extension, with a portability warning.
+* Multiple program units may appear on the same source line, separated by
+ semicolons; the standard requires each program unit to begin on a new line.
+ A portability warning is emitted.
+* Branching into a DO loop body from outside the loop via `GO TO` or arithmetic
+ `IF` is accepted with a portability warning.
+* Branching (via `GO TO` or `ASSIGN`/assigned `GO TO`) to a label that is not
+ a standard branch target is accepted with a portability warning.
+* A labeled `DO` loop is allowed to end at any labeled executable statement,
+ not only `END DO` or `CONTINUE`, with a portability warning.
+* Names that exceed the maximum length of 63 characters (F2023 C612) are
+ accepted with a portability warning.
+* An element of a contiguous `POINTER` or assumed-shape array may be used as
+ the initial element of a storage sequence (sequence association), with a
+ portability warning.
+* A Cray `POINTER` pointee whose type is a derived type that is neither
+ `SEQUENCE` nor `BIND(C)` is accepted with a portability warning.
----------------
klausler wrote:
Cray pointers are portable, standard or not, when the pointee's type is a vanilla sequence type. The portability warning mentioned in this item is for other cases, where implementations differ.
https://github.com/llvm/llvm-project/pull/202331
More information about the flang-commits
mailing list