re PR fortran/84409 ([F03] check DTIO arguments for character len)
authorJanus Weil <janus@gcc.gnu.org>
Thu, 15 Feb 2018 21:16:00 +0000 (22:16 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Thu, 15 Feb 2018 21:16:00 +0000 (22:16 +0100)
commitf3ad8745b0559b3abc4253dbc3a659295b142379
tree0045b7dc9a42f86c8ce13179f571cc71a04c5754
parent51f174c0efe187d46102bf8010d6096cada1a0cb
re PR fortran/84409 ([F03] check DTIO arguments for character len)

2018-02-15  Janus Weil  <janus@gcc.gnu.org>

PR fortran/84409
* interface.c (check_dtio_arg_TKR_intent): Add a check for character
length.

2018-02-15  Janus Weil  <janus@gcc.gnu.org>

PR fortran/84409
* gfortran.dg/dtio_21.f03: Add an error message.
* gfortran.dg/dtio_22.f90: Fix invalid test case.

From-SVN: r257711
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dtio_21.f90
gcc/testsuite/gfortran.dg/dtio_22.f90