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 | |
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')
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rw-r--r-- | libgfortran/gfortran.map | 1 | ||||
-rw-r--r-- | libgfortran/runtime/stop.c | 18 |
3 files changed, 5 insertions, 19 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 114b006..36c994a 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,5 +1,10 @@ 2016-12-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + * gfortran.map: Remove _gfortran_stop_numeric_f08. + * runtime/stop.c: Rename stop_numeric_f08 into stop_numeric. + +2016-12-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + * Makefile.am: Remove ISO_C_BINDING runtime functions. * Makefile.in: Regenerate. * gfortran.map: Remove all __iso_c_binding_c_f_pointer_* symbols. diff --git a/libgfortran/gfortran.map b/libgfortran/gfortran.map index 80cf29a..c2b491a 100644 --- a/libgfortran/gfortran.map +++ b/libgfortran/gfortran.map @@ -1108,7 +1108,6 @@ GFORTRAN_1.4 { _gfortran_parity_l8; _gfortran_parity_l16; _gfortran_selected_real_kind2008; - _gfortran_stop_numeric_f08; _gfortran_transfer_array_write; _gfortran_transfer_character_write; _gfortran_transfer_character_wide_write; 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); } |