[flang-commits] [clang] [flang] [Flang] Adding -ffree-line-length-<value> flag (PR #192941)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Tue Apr 21 07:17:44 PDT 2026


================
@@ -286,6 +286,12 @@ struct FrontendOptions {
   // source file.
   int fixedFormColumns = 72;
 
+  // The column after which characters are ignored in free form lines in the
+  // source file.
+  // In 6.3.2.1, in free source form a line shall contain at most ten thousand
----------------
tarunprabhu wrote:

Which standard is this referencing? [Guidance on referencing the standard](https://flang.llvm.org/docs/C%2B%2Bstyle.html#referencing-the-fortran-standard) was added recently. Omitting the standard implies F2018, but it's probably better for new references to be explicit.

https://github.com/llvm/llvm-project/pull/192941


More information about the flang-commits mailing list