ABORT — Abort the program¶
- ABORT()¶
ABORTcauses immediate termination of the program. On operating systems that support a core dump,ABORTwill produce a core dump. It will also print a backtrace, unless-fno-backtraceis given.- Returns
Does not return.
Standard:GNU extension
Class:Subroutine
Syntax:CALL ABORT
Example:program test_abort integer :: i = 1, j = 2 if (i /= j) call abort end program test_abort
See also:EXIT, KILL, BACKTRACE