]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/interface.cc
interface.c (check_dtio_interface1): Introduce errors for alternate returns and incor...
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 22 Sep 2016 07:46:07 +0000 (07:46 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 22 Sep 2016 07:46:07 +0000 (07:46 +0000)
commita8de3002f19eb09cf95d36f1a97e30f234df7d9e
tree20c8a2260ebf12f29bf9cbce0b762dbf8b19f6dc
parent39abef62a17740d59f4bab506c07867cffa7da10
interface.c (check_dtio_interface1): Introduce errors for alternate returns and incorrect numbers of arguments.

2016-09-22  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-22  Paul Thomas  <pault@gcc.gnu.org>

* gfortran.dg/dtio_11.f90: Correct for changed error messages.
* gfortran.dg/dtio_13.f90: New test.

From-SVN: r240342
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dtio_11.f90
gcc/testsuite/gfortran.dg/dtio_13.f90 [new file with mode: 0644]