[flang-commits] [flang] 03f5723 - [flang] Update extension documentation

peter klausler via flang-commits flang-commits at lists.llvm.org
Thu Apr 9 08:15:43 PDT 2020


Author: peter klausler
Date: 2019-07-10T16:42:05-07:00
New Revision: 03f5723cb685ad36512783ee8396c3cd73cd76ee

URL: https://github.com/llvm/llvm-project/commit/03f5723cb685ad36512783ee8396c3cd73cd76ee
DIFF: https://github.com/llvm/llvm-project/commit/03f5723cb685ad36512783ee8396c3cd73cd76ee.diff

LOG: [flang] Update extension documentation

Original-commit: flang-compiler/f18 at 40b44b2e3a087fad4f95009c6e7b345dab970fbb
Reviewed-on: https://github.com/flang-compiler/f18/pull/557
Tree-same-pre-rewrite: false

Added: 
    

Modified: 
    flang/documentation/Extensions.md

Removed: 
    


################################################################################
diff  --git a/flang/documentation/Extensions.md b/flang/documentation/Extensions.md
index b77ee4bf2d31..5a66e104565a 100644
--- a/flang/documentation/Extensions.md
+++ b/flang/documentation/Extensions.md
@@ -78,8 +78,9 @@ Extensions, deletions, and legacy features supported by default
   for the default kind of INTEGER are assumed to have the least larger kind
   that can hold them, if one exists.
 * BOZ literals can be used as INTEGER values in contexts where the type is
-  unambiguous (including the right hand sides of assigments and initializations
-  of INTEGER entities).
+  unambiguous: the right hand sides of assigments and initializations
+  of INTEGER entities, and as actual arguments to a few intrinsic functions
+  (ACHAR, BTEST, CHAR).
 * EQUIVALENCE of numeric and character sequences (a ubiquitous extension)
 * Values for whole anonymous parent components in structure constructors
   (e.g., `EXTENDEDTYPE(PARENTTYPE(1,2,3))` rather than `EXTENDEDTYPE(1,2,3)`
@@ -121,4 +122,6 @@ Extensions and legacy features deliberately not supported
 * Procedure pointers in COMMON blocks (PGI/Intel)
 * Underindexing multi-dimensional arrays (e.g., A(1) rather than A(1,1)) (PGI only)
 * Legacy PGI `NCHARACTER` type and `NC` Kanji character literals
-* Using non-integer expressions for array bounds (e.g., A(3.14159)) (PGI/Intel)
+* Using non-integer expressions for array bounds (e.g., REAL A(3.14159)) (PGI/Intel)
+* Mixing INTEGER types as operands to bit intrinsics (e.g., IAND); only two
+  compilers support it, and they disagree on sign extension.


        


More information about the flang-commits mailing list