From f0fa0e5299f0cc66fb5e3c8b12c79e888b460e6a Mon Sep 17 00:00:00 2001 From: psteinfeld <47540744+psteinfeld@users.noreply.github.com> Date: Thu, 4 Apr 2019 10:48:44 -0700 Subject: [PATCH] [flang] Update OptionComparison.md Original-commit: flang-compiler/f18@8beda1f14eab6293f6465c08e3a531d685c7ab62 --- flang/documentation/OptionComparison.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flang/documentation/OptionComparison.md b/flang/documentation/OptionComparison.md index 2e6f2e4..1ef75a9 100644 --- a/flang/documentation/OptionComparison.md +++ b/flang/documentation/OptionComparison.md @@ -1214,7 +1214,10 @@ IBM Fortran's options allow the source line length to be specified with the opti * **GNU:** For both "ffixed-line-length-_n_" and "ffree-line-length-_n_" options, characters are ignored after the specified length. The default for fixed is 72. The default for free is 132. For free, you can specify 'none' as the length, which means that all characters in the line are meaningful. * **IBM:** For **fixed**, the default is 72. For **free**, there's no default, but the maximum length for either form is 132. * **Intel:** The default is 72 for **fixed** and 132 for **free**. -* **PGI, Flang:** By default, flang accepts up to 1000 characters per line in free form. "-Mextend" instructs the compiler to accept 132-column source code; otherwise it accepts 72-column code. It's unclear from the documentation whether this applies to fixed, free, or both source formats. +* **PGI, Flang:** + * in free form, it is an error if the line is longer than 1000 characters + * in fixed form by default, characters after column 72 are ignored + * in fixed form with -Mextend, characters after column 132 are ignored **Names, Literals, and other tokens** -- 2.7.4