ABORT causes immediate termination of the program. On operating systems that support a core dump, ABORT will produce a core dump. It will also print a backtrace, unless -fno-backtrace is given.
GNU extension
Subroutine
CALL ABORT
Does not return.
program test_abort integer :: i = 1, j = 2 if (i /= j) call abort end program test_abort
EXIT — Exit the program with status., KILL — Send a signal to a process, BACKTRACE — Show a backtrace
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gfortran/ABORT.html