Changes between Version 9 and Version 10 of doc/app/recommended_compiler_options
- Timestamp:
- Jun 5, 2025 6:35:00 AM (3 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/app/recommended_compiler_options
v9 v10 76 76 == '''GNU Fortran:''' 77 77 78 {{{gfortran -Ofast }}}78 {{{gfortran -Ofast -g -ffpe-trap=invalid,zero,overflow -fbacktrace}}} 79 79 80 80 ||='''Option''' =||='''meaning''' =|| 81 81 |----------- 82 82 ||-Ofast ||Disregard strict standards compliance. -Ofast enables all -O3 optimizations. It also enables optimizations that are not valid for all standard-compliant programs. It turns on -ffast-math and the Fortran-specific -fstack-arrays, unless -fmax-stack-var-size is specified, and -fno-protect-parens. || 83 ||-g ||Produce debugging information in the operating system's native format. || 84 ||-ffpe-trap= ||Specifies a list of IEEE exceptions when a Floating Point Execption (FPE) should be raised. ''invalid'': invalid floating point operation, such as SQRT(-1.0), ''zero'': division by zero, ''overflow'': overflow in a floating point operation. || 85 ||-fbacktrace ||Specify that, when a runtime error is encountered or a deadly signal is emitted (segmentation fault, illegal instruction, bus error or floating-point exception), the Fortran runtime library should output a backtrace of the error. || 83 86 84 87 \\