Fwd: [PATCH 18/25] Fix interleaving of Fortran stop messages
Toon Moene
toon@moene.org
Wed Sep 5 16:57:00 GMT 2018
-------- Forwarded Message --------
Subject: [PATCH 18/25] Fix interleaving of Fortran stop messages
Date: Wed, 5 Sep 2018 12:51:19 +0100
From: ams@codesourcery.com
To: gcc-patches@gcc.gnu.org
Fortran STOP and ERROR STOP use a different function to print the "STOP"
string
and the message string. On GCN this results in out-of-order output, such as
"<msg>ERROR STOP ".
This patch fixes the problem by making estr_write use the proper Fortran
write,
not C printf, so both parts are now output the same way. This also ensures
that both parts are output to STDERR (not that that means anything on GCN).
2018-09-05 Kwok Cheung Yeung <kcy@codesourcery.com>
libgfortran/
* runtime/minimal.c (estr_write): Define in terms of write.
---
libgfortran/runtime/minimal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0018-Fix-interleaving-of-Fortran-stop-messages.patch
Type: text/x-patch
Size: 492 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180905/452408f4/attachment.bin>
More information about the Fortran
mailing list