This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] Clean up of error recovery in DTIO procedures
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: gerhard dot steinmetz dot fortran at t-online dot de, Damian Rouson <damian at sourceryinstitute dot org>, jerry DeLisle <jvdelisle at charter dot net>
- Date: Thu, 22 Sep 2016 09:47:19 +0200
- Subject: Re: [Patch, fortran] Clean up of error recovery in DTIO procedures
- Authentication-results: sourceware.org; auth=none
- References: <CAGkQGiLvUx05GgOfqRMwu2z6sQSJahYLP6S78iPVmThSi6siLA@mail.gmail.com>
Committed as revision 240342.
Paul
On 21 September 2016 at 12:18, Paul Richard Thomas
<paul.richard.thomas@gmail.com> wrote:
> Dear All,
>
> Please find attached a patch to clean up the various issues with
> errors in DTIO procedures. The tests were all provided by Gerhard
> Steinmetz for which thanks are due.
>
> I intend to commit this patch as 'obvious' tomorrow morning unless
> there are any objections in the meantime.
>
> Bootstrapped and regtested on x86_64/FC21 - OK for trunk?
>
> Paul
>
> 2016-09-21 Paul Thomas <pault@gcc.gnu.org>
>
> * interface.c (check_dtio_interface1): Introduce errors for
> alternate returns and incorrect numbers of arguments.
> (gfc_find_specific_dtio_proc): Return cleanly if the derived
> type either doesn't exist or has no namespace.
>
> 2016-09-21 Paul Thomas <pault@gcc.gnu.org>
>
> * gfortran.dg/dtio_13.f90: New test.
--
The difference between genius and stupidity is; genius has its limits.
Albert Einstein