[flang-commits] [flang] 89e4b75 - [flang] Document extension: Ew.0 output editing

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Mon Jun 13 11:50:22 PDT 2022


Author: Peter Klausler
Date: 2022-06-13T11:50:11-07:00
New Revision: 89e4b75648888026a1f06f486a8fb1599ad79a31

URL: https://github.com/llvm/llvm-project/commit/89e4b75648888026a1f06f486a8fb1599ad79a31
DIFF: https://github.com/llvm/llvm-project/commit/89e4b75648888026a1f06f486a8fb1599ad79a31.diff

LOG: [flang] Document extension: Ew.0 output editing

The restrictions on the relationship between a "kP" scale factor
and a Ew.d/Dw.d/Gw.d significant digit count are not enforced for
output editing when there is no nonzero scale factor in effect.
(An error message about a bad scale factor is confusing if no kP
control edit descriptor has been used.)  Document this usage in
Extensions.md.

Differential Revision: https://reviews.llvm.org/D127435

Added: 
    

Modified: 
    flang/docs/Extensions.md

Removed: 
    


################################################################################
diff  --git a/flang/docs/Extensions.md b/flang/docs/Extensions.md
index 63001c4379b58..6becaf3c96e94 100644
--- a/flang/docs/Extensions.md
+++ b/flang/docs/Extensions.md
@@ -233,6 +233,8 @@ end
 * Legacy names `AND`, `OR`, and `XOR` are accepted as aliases for
   the standard intrinsic functions `IAND`, `IOR`, and `IEOR`
   respectively.
+* A digit count of d=0 is accepted in Ew.0, Dw.0, and Gw.0 output
+  editing if no nonzero scale factor (kP) is in effect.
 
 ### Extensions supported when enabled by options
 


        


More information about the flang-commits mailing list