XL Fortran for AIX 8.1

User's Guide


XL Fortran Run-Time Exceptions

The following operations cause run-time exceptions in the form of SIGTRAP signals, which typically result in a "Trace/BPT trap" message:

If you install one of the predefined XL Fortran exception handlers before the exception occurs, a diagnostic message and a traceback showing the offset within each routine called that led to the exception are written to standard error after the exception occurs. The file buffers are also flushed before the program ends. If you compile the program with the -g option, the traceback shows source line numbers in addition to the address offsets.

You can use a symbolic debugger to determine the error. dbx provides a specific error message that describes the cause of the exception.

Related Information:
See -C Option, -qflttrap Option, and -qsigtrap Option.

See Detecting and Trapping Floating-Point Exceptions for more details about these exceptions and Controlling the Floating-Point Status and Control Register for a list of exception handlers.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]