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/runtime/stop.c | |
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/runtime/stop.c')
-rw-r--r-- | libgfortran/runtime/stop.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |