[Fortran] Resolve formal args before checking DTIO
authorTobias Burnus <tobias@codesourcery.com>
Thu, 2 Apr 2020 16:27:09 +0000 (18:27 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Thu, 2 Apr 2020 16:27:09 +0000 (18:27 +0200)
commit3ab216a4d2f14be1f37350260142c91fabce834a
treea6a5e77601a0f9a6252e865003a91f7f9002a071
parentb90061c6ec090c6b41a44987c646c828e5165298
[Fortran] Resolve formal args before checking DTIO

        * gfortran.h (gfc_resolve_formal_arglist): Add prototype.
        * interface.c (check_dtio_interface1): Call it.
        * resolve.c (gfc_resolve_formal_arglist): Renamed from
        resolve_formal_arglist, removed static.
        (find_arglists, resolve_types): Update calls.

        * gfortran.dg/dtio_35.f90: New.
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/interface.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dtio_35.f90 [new file with mode: 0644]