From: Jerry D <jvdelisle2@gmail.com>
To: Harald Anlauf <anlauf@gmx.de>, gfortran <fortran@gcc.gnu.org>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [patch, libgfortran] PR105456 Child I/O does not propage iostat
Date: Sun, 25 Feb 2024 14:58:53 -0800 [thread overview]
Message-ID: <9c25ca8e-d660-4fd0-b8c3-b65034c84c5e@gmail.com> (raw)
In-Reply-To: <e47b7369-3da3-4840-a886-66f10d9fc429@gmx.de>
On 2/25/24 12:34 PM, Harald Anlauf wrote:
> Hi Jerry,
>
> On 2/22/24 20:11, Jerry D wrote:
>> Hi all,
>>
>> The attached fix adds a check for an error condition from a UDDTIO
>> procedure in the case where there is no actual underlying error, but the
>> user defines an error by setting the iostat variable manually before
>> returning to the parent READ.
>
> the libgfortran fix LGTM.
>
> Regarding the testcase code, the following looks like you left some
> debugging code in it:
>
> + rewind (10)
> + read (10,*) x
> + print *, myerror, mymessage
> + write (*,'(10(A))') "Read: '",x%ch,"'"
>
--- snip ---
I cleaned up the test case. Thanks for review.
The master branch has been updated by Jerry DeLisle <jvdelisle@gcc.gnu.org>:
https://gcc.gnu.org/g:3f58f96a4e8255e222953f9856bcd6c25f7b33cd
Regards,
Jerry
prev parent reply other threads:[~2024-02-25 22:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-22 19:11 Jerry D
2024-02-25 20:34 ` Harald Anlauf
2024-02-25 22:58 ` Jerry D [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9c25ca8e-d660-4fd0-b8c3-b65034c84c5e@gmail.com \
--to=jvdelisle2@gmail.com \
--cc=anlauf@gmx.de \
--cc=fortran@gcc.gnu.org \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).