Options: Debugging
-g Disable optimization and keep all symbol tables
-DEBUG: the DEBUG group option (man DEBUG_GROUP):
- check_div=n n=1 (default) check integer divide by zero
n=2 check integer overflow
n=3 check integer divide by zero and overflow
- subscript_check (default ON) to check for subscripts out of range
f77: aborts run and dumps core
f90: aborts run if setenv F90_BOUNDS_CHECK_ABORT
- verbose_runtime (default OFF) to give source line number of failures
- trap_uninitialized (default OFF) initialize all variables to 0xFFFA5A5
when used as pointer - access violation
when used as fp values - NaN causes fp trap
f77 -n32 -mips4 -g file.f \
-DEBUG:subscript_check:verbose_runtime=ON \
-DEBUG:check_div=3 -DEBUG:trap_uninitialized=ON