Next: , Previous: Warning Options, Up: Invoking GFORTRAN


4.4 Options for Debugging Your Program or GNU Fortran

GNU Fortran has various special options that are used for debugging either your program or gfortran

-fdump-parse-tree
Output the internal parse tree before starting code generation. Only really useful for debugging gfortran 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 denormal value).

See Options for Debugging Your Program or GCC, for more information on debugging options.