diff options
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2016-12-19 16:09:12 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2016-12-19 16:09:12 +0000 |
commit | 03506f8cc3da48ed9303ebbd435eeaacee6629e6 (patch) | |
tree | 6d4c93a26869afbcca5faf17e3aa10c0a2245d00 /libgfortran/runtime | |
parent | c52b53d6294ca529927aaf1dcf2f67d9b53857ee (diff) | |
download | gcc-03506f8cc3da48ed9303ebbd435eeaacee6629e6.zip gcc-03506f8cc3da48ed9303ebbd435eeaacee6629e6.tar.gz gcc-03506f8cc3da48ed9303ebbd435eeaacee6629e6.tar.bz2 |
trans.h: Remove gfor_fndecl_stop_numeric_f08.
* trans.h: Remove gfor_fndecl_stop_numeric_f08.
* trans-decl.c: Remove gfor_fndecl_stop_numeric_f08.
* trans-stmt.c (gfc_trans_stop): Use gfor_fndecl_stop_numeric
instead of gfor_fndecl_stop_numeric_f08.
* gfortran.map: Remove _gfortran_stop_numeric_f08.
* runtime/stop.c: Rename stop_numeric_f08 into stop_numeric.
From-SVN: r243803
Diffstat (limited to 'libgfortran/runtime')
-rw-r--r-- | libgfortran/runtime/stop.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libgfortran/runtime/stop.c b/libgfortran/runtime/stop.c index 26896e8..8f5431b 100644 --- a/libgfortran/runtime/stop.c +++ b/libgfortran/runtime/stop.c @@ -90,24 +90,6 @@ void stop_numeric (GFC_INTEGER_4 code) { report_exception (); - if (code == -1) - code = 0; - else - st_printf ("STOP %d\n", (int)code); - - exit (code); -} - - -/* A Fortran 2008 numeric STOP statement. */ - -extern _Noreturn void stop_numeric_f08 (GFC_INTEGER_4); -export_proto(stop_numeric_f08); - -void -stop_numeric_f08 (GFC_INTEGER_4 code) -{ - report_exception (); st_printf ("STOP %d\n", (int)code); exit (code); } |