[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 28 10:46:27 PDT 2026


tarunprabhu wrote:

> It would be nice to bake in a sentinel value that is the default and only enable this when F2023 is used or the command line option explicitly enables it.

I think this touches on a much bigger question of standards compliance and what the `-std=f*` option ought to do. In some sense, we already impose the f2018 standard on everything - including nominally f90/f95 code. Honestly, I am not sure what to do about this either.

Do you know if there is code out there (hand-written or machine-generated) with lines containing more than 10K characters?

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


More information about the flang-commits mailing list