diff options
author | kargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-04 22:18:22 +0000 |
---|---|---|
committer | kargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-04 22:18:22 +0000 |
commit | 38f1a81f803a9ea4a42cd973483b71014d014347 (patch) | |
tree | 616f0d7eb92e4acc82b3bd9fd8a5ba1ffcab0fdb /libgfortran | |
parent | 970ab0293c349770804c229309961af376ab527b (diff) | |
download | ppe42-gcc-38f1a81f803a9ea4a42cd973483b71014d014347.tar.gz ppe42-gcc-38f1a81f803a9ea4a42cd973483b71014d014347.zip |
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')
-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 c3c5a9ecb6f..bb8e3323d1a 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 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); |