summaryrefslogtreecommitdiff
path: root/libgfortran/runtime/stop.c
diff options
context:
space:
mode:
authorkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-04 22:18:22 +0000
committerkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-04 22:18:22 +0000
commit38f1a81f803a9ea4a42cd973483b71014d014347 (patch)
tree616f0d7eb92e4acc82b3bd9fd8a5ba1ffcab0fdb /libgfortran/runtime/stop.c
parent970ab0293c349770804c229309961af376ab527b (diff)
downloadgcc-38f1a81f803a9ea4a42cd973483b71014d014347.tar.gz
PR fortran/24636
* match.c (gfc_match_stopcode): Set stop_code = -1. * runtime/stop.c (stop_numeric): Use stop_code = -1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106509 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/runtime/stop.c')
-rw-r--r--libgfortran/runtime/stop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/runtime/stop.c b/libgfortran/runtime/stop.c
index 768d75bbc0a..920cc2c4f45 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);