2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
8 ABORT --- Abort the program
9 ***************************
11 .. index:: ABORT, program termination, with core dump, terminate program, with core dump, core, dump
15 ``ABORT`` causes immediate termination of the program. On operating
16 systems that support a core dump, ``ABORT`` will produce a core dump.
17 It will also print a backtrace, unless ``-fno-backtrace`` is given.
29 .. code-block:: fortran
34 .. code-block:: fortran
37 integer :: i = 1, j = 2
38 if (i /= j) call abort
39 end program test_abort