PR 53379 Print backtrace on error termination.
commit71cda9cac819730fa340ebd83ec7f4bc9fd5d399
authorJanne Blomqvist <jb@gcc.gnu.org>
Fri, 4 Sep 2015 22:17:11 +0000 (5 01:17 +0300)
committerJanne Blomqvist <jb@gcc.gnu.org>
Fri, 4 Sep 2015 22:17:11 +0000 (5 01:17 +0300)
tree1e86b9612c9e453b6de4ddded336603afe52274f
parent5e229618cd309e8eab48f52f1ae63ea71a88be23
PR 53379 Print backtrace on error termination.

2015-09-05  Janne Blomqvist  <jb@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.

From-SVN: r227503
libgfortran/ChangeLog
libgfortran/libgfortran.h
libgfortran/runtime/error.c
libgfortran/runtime/stop.c