https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53379
--- Comment #24 from Janne Blomqvist <jb at gcc dot gnu.org> --- Author: jb Date: Fri Sep 4 22:17:11 2015 New Revision: 227503 URL: https://gcc.gnu.org/viewcvs?rev=227503&root=gcc&view=rev Log: PR 53379 Print backtrace on error termination. 2015-09-05 Janne Blomqvist <j...@gcc.gnu.org> PR fortran/53379 * libgfortran.h (exit_error): New prototype. * runtime/error.c (exit_error): New function. (os_error): Call exit_error instead of exit. (runtime_error): Likewise. (runtime_error_at): Likewise. (internal_error): Likewise. (generate_error): Likewise. (notify_std): Likewise. * runtime/stop.c (error_stop_string): Likewise. (error_stop_numeric): Likewise. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/libgfortran.h trunk/libgfortran/runtime/error.c trunk/libgfortran/runtime/stop.c