aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/runtime/environ.c
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2011-05-14 11:44:09 +0300
committerJanne Blomqvist <jb@gcc.gnu.org>2011-05-14 11:44:09 +0300
commitde8bd1420e94a63faef64c2ccac021fd89a11497 (patch)
tree7992bcce7fae4d0b2746f2216e3a5e1c98df7aa2 /libgfortran/runtime/environ.c
parent1028b2bded33a9ee92db6a1a968258f3ba29aa24 (diff)
downloadgcc-de8bd1420e94a63faef64c2ccac021fd89a11497.zip
gcc-de8bd1420e94a63faef64c2ccac021fd89a11497.tar.gz
gcc-de8bd1420e94a63faef64c2ccac021fd89a11497.tar.bz2
PR 48915 Abort handling
From-SVN: r173750
Diffstat (limited to 'libgfortran/runtime/environ.c')
-rw-r--r--libgfortran/runtime/environ.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libgfortran/runtime/environ.c b/libgfortran/runtime/environ.c
index 7695f0d..6bd8886 100644
--- a/libgfortran/runtime/environ.c
+++ b/libgfortran/runtime/environ.c
@@ -318,11 +318,6 @@ static variable variable_table[] = {
{"GFORTRAN_CONVERT_UNIT", 0, 0, init_unformatted, show_string,
"Set format for unformatted files", 0},
- /* Behaviour when encoutering a runtime error. */
- {"GFORTRAN_ERROR_DUMPCORE", -1, &options.dump_core,
- init_boolean, show_boolean,
- "Dump a core file (if possible) on runtime error", -1},
-
{"GFORTRAN_ERROR_BACKTRACE", -1, &options.backtrace,
init_boolean, show_boolean,
"Print out a backtrace (if possible) on runtime error", -1},
@@ -388,7 +383,7 @@ show_variables (void)
estr_write ("\nCommand line arguments:\n");
estr_write (" --help Print this list\n");
- sys_exit (0);
+ exit (0);
}
/* This is the handling of the GFORTRAN_CONVERT_UNITS environment variable.