[flang-commits] [clang] [flang] [llvm] [flang][flang-rt] Add -ffpe-trap= to set the initial FP exception halting mode (PR #208828)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Wed Jul 22 07:33:04 PDT 2026
================
@@ -327,6 +326,33 @@ defm real_sum_reassociation
standard-conforming Fortran semantics.
}]>;
+def ffpe_trap_EQ : Joined<["-"], "ffpe-trap=">, Group<f_Group>,
+ HelpText<"Set the initial floating-point exception halting mode for the main program">,
----------------
tarunprabhu wrote:
It is not clear what the word "initial" means here. I assume that it is "initial" because the halting mode can later be changed in the program. It's probably ok to leave it like this in this line, but it may be worth clarifying this in the DocBrief text.
https://github.com/llvm/llvm-project/pull/208828
More information about the flang-commits
mailing list