Changes between Version 8 and Version 9 of doc/app/recommended_compiler_options


Ignore:
Timestamp:
Mar 17, 2021 12:36:11 PM (4 years ago)
Author:
raasch
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/app/recommended_compiler_options

    v8 v9  
    8585== '''GNU Fortran for debugging:'''
    8686
    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}}}
    8888
    8989||='''Option''' =||='''meaning''' =||
    9090|-----------
    9191||-O0          ||Reduce compilation time and make debugging produce the expected results.  ||
     92||-g           ||Produce debugging information in the operating system's native format. ||
    9293||-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. ||
    9394||-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.  ||