From 99ec2fa834d57864c1d39105d8d18415a30ec8fa Mon Sep 17 00:00:00 2001 From: peter klausler Date: Wed, 17 Jul 2019 14:29:11 -0700 Subject: [PATCH] [flang] Document BOZ initializers for REAL Original-commit: flang-compiler/f18@d72d5feb01e374e6874826f41aaafd25995c1a19 Reviewed-on: https://github.com/flang-compiler/f18/pull/590 Tree-same-pre-rewrite: false --- flang/documentation/Extensions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flang/documentation/Extensions.md b/flang/documentation/Extensions.md index c76ad716ad6e..83c979fde07a 100644 --- a/flang/documentation/Extensions.md +++ b/flang/documentation/Extensions.md @@ -82,6 +82,8 @@ Extensions, deletions, and legacy features supported by default of INTEGER entities, and as actual arguments to a few intrinsic functions (ACHAR, BTEST, CHAR). But they cannot be used if the type would not be known (e.g., `IAND(X'1',X'2')`). +* BOZ literals can also be used as REAL values in some contexts where the + type is unambiguous, such as initializations of REAL parameters. * 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)`