Changes between Version 8 and Version 9 of doc/app/recommended_compiler_options
- Timestamp:
- Mar 17, 2021 12:36:11 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/app/recommended_compiler_options
v8 v9 85 85 == '''GNU Fortran for debugging:''' 86 86 87 {{{gfortran -O0 - ffpe-trap=invalid,zero,overflow -Wall -Wextra -pedantic -fcheck=all -fbacktrace}}}87 {{{gfortran -O0 -g -ffpe-trap=invalid,zero,overflow -Wall -Wextra -pedantic -fcheck=all -fbacktrace}}} 88 88 89 89 ||='''Option''' =||='''meaning''' =|| 90 90 |----------- 91 91 ||-O0 ||Reduce compilation time and make debugging produce the expected results. || 92 ||-g ||Produce debugging information in the operating system's native format. || 92 93 ||-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. || 93 94 ||-Wall ||Enables commonly used warning options pertaining to usage that we recommend avoiding and that we believe are easy to avoid. This currently includes -Waliasing, -Wampersand, -Wsurprising, -Wintrinsics-std, -Wno-tabs, -Wintrinsic-shadow and -Wline-truncation. ||