================ @@ -34,6 +34,17 @@ page](https://llvm.org/releases/). ## Non-comprehensive list of changes in this release ## New Compiler Flags +- The `-ffpe-trap=` flag is now supported. It sets the initial floating-point + exception halting mode for the main program to a comma-separated list of + `invalid`, `zero`, `overflow`, `underflow`, and `inexact` (plus the + non-standard, gfortran-compatible extension `denormal`). Use `none` or an + empty list to disable halting. In the absence of this option, the program runs + with traps disabled (equivalent to passing `none`). If `-ffpe-trap=` occurs + more than once, only the last one takes effect. Processor dependent (Fortran + 2023, 17.6) initial halting control is implemented for x86 and glibc-based + (Linux) targets only; on other targets a warning is emitted and the option is + ignored. Note that the `denormal` exception is an x86-only extension, so + requesting it for a non-x86 target also warns and is ignored. ---------------- tarunprabhu wrote:
Here, `denormal` not work even if the non-x86 platform is glibc-based Linux? I have been confused about this in several places in the documentation, so I think it would help to make this clearer. https://github.com/llvm/llvm-project/pull/208828 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
