re PR fortran/78592 (ICE in gfc_find_specific_dtio_proc, at fortran/interface.c:4939)
authorJanus Weil <janus@gcc.gnu.org>
Wed, 30 Nov 2016 09:50:04 +0000 (10:50 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Wed, 30 Nov 2016 09:50:04 +0000 (10:50 +0100)
commit40109581065366e04c547d2bff6e8f7ff5646fb8
tree3545cb58049e24356083d213deac96d297001759
parent0bdad1238b5b49ef3302321000d8eebf103e9038
re PR fortran/78592 (ICE in gfc_find_specific_dtio_proc, at fortran/interface.c:4939)

2016-11-30  Janus Weil  <janus@gcc.gnu.org>

PR fortran/78592
* interface.c (gfc_find_specific_dtio_proc): Rearrange code to avoid
dereferencing a null pointer.

2016-11-30  Janus Weil  <janus@gcc.gnu.org>

PR fortran/78592
* gfortran.dg/dtio_18.f90: New test case.

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