diff options
author | Steven G. Kargl <kargls@comcast.net> | 2005-11-04 22:18:22 +0000 |
---|---|---|
committer | Steven G. Kargl <kargl@gcc.gnu.org> | 2005-11-04 22:18:22 +0000 |
commit | 33de49ea9f44e27b3064c6d47b4315b41ff09416 (patch) | |
tree | 616f0d7eb92e4acc82b3bd9fd8a5ba1ffcab0fdb /libgfortran | |
parent | 930352c0b7cf78b8c08ac50dde3a18f3e24b645e (diff) | |
download | gcc-33de49ea9f44e27b3064c6d47b4315b41ff09416.zip gcc-33de49ea9f44e27b3064c6d47b4315b41ff09416.tar.gz gcc-33de49ea9f44e27b3064c6d47b4315b41ff09416.tar.bz2 |
re PR fortran/24636 (gfortran: STOP without stop-code too noisy, regression w.r.t. g77)
PR fortran/24636
* match.c (gfc_match_stopcode): Set stop_code = -1.
* runtime/stop.c (stop_numeric): Use stop_code = -1.
From-SVN: r106509
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rw-r--r-- | libgfortran/runtime/stop.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index c3c5a9e..bb8e332 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2005-11-04 Steven G. Kargl <kargls@comcast.net> + + PR fortran/24636 + * runtime/stop.c (stop_numeric): Use stop_code = -1. + 2005-11-04 Francois-Xavier Coudert <coudert@clipper.ens.fr> PR libfortran/22298 diff --git a/libgfortran/runtime/stop.c b/libgfortran/runtime/stop.c index 768d75b..920cc2c 100644 --- a/libgfortran/runtime/stop.c +++ b/libgfortran/runtime/stop.c @@ -40,7 +40,7 @@ stop_numeric (GFC_INTEGER_4 code) show_locus (); if (code == -1) - st_printf ("STOP\n"); + code = 0; else st_printf ("STOP %d\n", (int)code); |