Next: , Previous: , Up: Intrinsic Procedures   [Contents][Index]


8.2 ABORT — Abort the program

Synopsis:

CALL ABORT

Description:

ABORT causes immediate termination of the program. On operating systems that support a core dump, ABORT produces a core dump. It also prints a backtrace, unless -fno-backtrace is given.

Class:

Subroutine

Return value:

Does not return.

Example:
program test_abort
  integer :: i = 1, j = 2
  if (i /= j) call abort
end program test_abort
Standard:

GNU extension

See also:

EXIT,
KILL,
BACKTRACE