Skip to content

Commit 8f3bdea

Browse files
authored
[flang][NFC] Restore documentation (#78211)
Add a paragraph to Extensions.md that fell out of a recent patch.
1 parent 2bb2a42 commit 8f3bdea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

flang/docs/Extensions.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ end
107107
These definitions yield fairly poor results due to floating-point
108108
cancellation, and every Fortran compiler (including this one)
109109
uses better algorithms.
110+
* When an index variable of a `FORALL` or `DO CONCURRENT` is present
111+
in the enclosing scope, and the construct does not have an explicit
112+
type specification for its index variables, some weird restrictions
113+
in F'2023 subclause 19.4 paragraphs 6 & 8 should apply. Since this
114+
compiler properly scopes these names, violations of these restrictions
115+
elicit only portability warnings by default.
110116

111117
## Extensions, deletions, and legacy features supported by default
112118

0 commit comments

Comments
 (0)