ABORT— Abort the program
ABORTcauses immediate termination of the program. On operating systems that support a core dump,
ABORTwill produce a core dump even if the option -fno-dump-core is in effect, which is suitable for debugging purposes.
program test_abort integer :: i = 1, j = 2 if (i /= j) call abort end program test_abort