[flang-commits] [flang] 8f3bdea - [flang][NFC] Restore documentation (#78211)

via flang-commits flang-commits at lists.llvm.org
Mon Jan 15 13:06:50 PST 2024


Author: Peter Klausler
Date: 2024-01-15T13:06:47-08:00
New Revision: 8f3bdea9b4083a7b9a7a4fb79d2d918575d42d57

URL: https://github.com/llvm/llvm-project/commit/8f3bdea9b4083a7b9a7a4fb79d2d918575d42d57
DIFF: https://github.com/llvm/llvm-project/commit/8f3bdea9b4083a7b9a7a4fb79d2d918575d42d57.diff

LOG: [flang][NFC] Restore documentation (#78211)

Add a paragraph to Extensions.md that fell out of a recent patch.

Added: 
    

Modified: 
    flang/docs/Extensions.md

Removed: 
    


################################################################################
diff  --git a/flang/docs/Extensions.md b/flang/docs/Extensions.md
index 259dc652b4e2be..28f672ac28596d 100644
--- a/flang/docs/Extensions.md
+++ b/flang/docs/Extensions.md
@@ -107,6 +107,12 @@ end
   These definitions yield fairly poor results due to floating-point
   cancellation, and every Fortran compiler (including this one)
   uses better algorithms.
+* When an index variable of a `FORALL` or `DO CONCURRENT` is present
+  in the enclosing scope, and the construct does not have an explicit
+  type specification for its index variables, some weird restrictions
+  in F'2023 subclause 19.4 paragraphs 6 & 8 should apply.  Since this
+  compiler properly scopes these names, violations of these restrictions
+  elicit only portability warnings by default.
 
 ## Extensions, deletions, and legacy features supported by default
 


        


More information about the flang-commits mailing list