This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, fortran] Clean up of error recovery in DTIO procedures


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.

Attachment: submit.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]