2.4 Options for debugging your program or GNU Fortran
GNU Fortran has various special options that are used for debugging
either your program or the GNU Fortran compiler.
-fdump-parse-tree
- Output the internal parse tree before starting code generation. Only
really useful for debugging the GNU Fortran compiler itself.
-ffpe-trap=
list- Specify a list of IEEE exceptions when a Floating Point Exception
(FPE) should be raised. On most systems, this will result in a SIGFPE
signal being sent and the program being interrupted, producing a core
file useful for debugging. list is a (possibly empty) comma-separated
list of the following IEEE exceptions: invalid (invalid floating
point operation, such as
SQRT(-1.0)
), zero (division by
zero), overflow (overflow in a floating point operation),
underflow (underflow in a floating point operation),
precision (loss of precision during operation) and denormal
(operation produced a denormal value).
See Options for Debugging Your Program or GCC (Using the GNU Compiler Collection (GCC)), for more information on
debugging options.