[flang-commits] [clang] [flang] [flang] Reject oversized -ffixed-line-length values (PR #229972)
via flang-commits
flang-commits at lists.llvm.org
Thu Oct 8 22:32:15 PDT 2026
================
@@ -16,6 +17,7 @@
! RUN: %flang_fc1 -E -fno-reformat %S/Inputs/fixed-line-length-test.f 2>&1 | FileCheck %s --check-prefix=DEFAULTLENGTH
! RUN: not %flang_fc1 -E -fno-reformat -ffixed-line-length=-2 %S/Inputs/fixed-line-length-test.f 2>&1 | FileCheck %s --check-prefix=NEGATIVELENGTH
! RUN: not %flang_fc1 -E -fno-reformat -ffixed-line-length=3 %S/Inputs/fixed-line-length-test.f 2>&1 | FileCheck %s --check-prefix=INVALIDLENGTH
+! RUN: not %flang_fc1 -E -fno-reformat -ffixed-line-length=4294967296 %S/Inputs/fixed-line-length-test.f 2>&1 | FileCheck %s --check-prefix=OVERFLOWLENGTH
----------------
Popie52 wrote:
sure
https://github.com/llvm/llvm-project/pull/229972
More information about the flang-commits
mailing list