re PR fortran/45521 ([F08] GENERIC resolution with ALLOCATABLE/POINTER and PROCEDURE)
authorJanus Weil <janus@gcc.gnu.org>
Mon, 11 Jun 2018 18:44:38 +0000 (20:44 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Mon, 11 Jun 2018 18:44:38 +0000 (20:44 +0200)
commitc7927c3bb8f3e21ed77b17bcb62b0125f10c5b29
treefb7de4b91b949d323991033e90af91994dd2c484
parent46e318cff70c1adcb0895092975c72f41f82404c
re PR fortran/45521 ([F08] GENERIC resolution with ALLOCATABLE/POINTER and PROCEDURE)

2018-06-11  Janus Weil  <janus@gcc.gnu.org>

PR fortran/45521
* interface.c (compare_ptr_alloc): New function.
(generic_correspondence): Call it.

2018-06-11  Janus Weil  <janus@gcc.gnu.org>

PR fortran/45521
* gfortran.dg/generic_32.f90: New test.
* gfortran.dg/generic_33.f90: New test.

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