re PR fortran/86545 (ICE in transfer_expr on invalid WRITE statement)
authorJanus Weil <janus@gcc.gnu.org>
Sat, 25 Aug 2018 15:41:34 +0000 (17:41 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sat, 25 Aug 2018 15:41:34 +0000 (17:41 +0200)
commit3d6fc627f6cb78ecf280622c05eed59e9150a5c7
tree06d8adf521a462ffce4c28e2e3c335cee13a6d1e
parentefa57feec8e47a9f6e4b62a21658f614b4aeb7d5
re PR fortran/86545 (ICE in transfer_expr on invalid WRITE statement)

fix PR 86545

2018-08-25  Janus Weil  <janus@gcc.gnu.org>

PR fortran/86545
* resolve.c (resolve_transfer): Correctly determine typespec for
generic function calls, in order to throw a proper error.

2018-08-25  Janus Weil  <janus@gcc.gnu.org>

PR fortran/86545
* gfortran.dg/generic_35.f90: New test case.

From-SVN: r263854
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/generic_35.f90 [new file with mode: 0644]