aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/runtime/stop.c
diff options
context:
space:
mode:
authorTobias Burnus <burnus@gcc.gnu.org>2011-05-14 18:02:07 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2011-05-14 18:02:07 +0200
commitade2e40389bd3c76031c486991005ffffa1493bf (patch)
tree51bc0cc0a9f5d12f4fca028b7b7323b517303bec /libgfortran/runtime/stop.c
parent858afbce4e8d52320d652848502620c0f922d592 (diff)
downloadgcc-ade2e40389bd3c76031c486991005ffffa1493bf.zip
gcc-ade2e40389bd3c76031c486991005ffffa1493bf.tar.gz
gcc-ade2e40389bd3c76031c486991005ffffa1493bf.tar.bz2
lang.opt (fdump-core): Re-add as ignored option for backward compatibility.
2011-05-14 Tobias Burnus <burnus@net-b.de> * lang.opt (fdump-core): Re-add as ignored option for backward compatibility. 2011-05-14 Tobias Burnus <burnus@net-b.de> * runtime/stop.c (error_stop_string, error_stop_numeric): Do not backtrace for ERROR STOP. From-SVN: r173760
Diffstat (limited to 'libgfortran/runtime/stop.c')
-rw-r--r--libgfortran/runtime/stop.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libgfortran/runtime/stop.c b/libgfortran/runtime/stop.c
index 2efe239..4c3a0f9 100644
--- a/libgfortran/runtime/stop.c
+++ b/libgfortran/runtime/stop.c
@@ -92,7 +92,7 @@ error_stop_string (const char *string, GFC_INTEGER_4 len)
(void) sizeof (w); /* Avoid compiler warning about not using w. */
estr_write ("\n");
- sys_abort ();
+ exit (1);
}
@@ -106,8 +106,5 @@ void
error_stop_numeric (GFC_INTEGER_4 code)
{
st_printf ("ERROR STOP %d\n", (int) code);
- if (options.backtrace == 1
- || (options.backtrace == -1 && compile_options.backtrace == 1))
- show_backtrace ();
exit (code);
}