re PR fortran/45521 ([F08] GENERIC resolution with ALLOCATABLE/POINTER and PROCEDURE)
commite9355cc32ee9d5967f9c359d42c1ae505e5266b6
authorJanus Weil <janus@gcc.gnu.org>
Sat, 6 Oct 2012 12:20:09 +0000 (6 14:20 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sat, 6 Oct 2012 12:20:09 +0000 (6 14:20 +0200)
tree187f0ab5e166b729754e62a8ee2c9145efe1f7f2
parent2aa3b677b13884a81e93202183802bbe6c8da9fe
re PR fortran/45521 ([F08] GENERIC resolution with ALLOCATABLE/POINTER and PROCEDURE)

2012-10-06  Janus Weil  <janus@gcc.gnu.org>

PR fortran/45521
* interface.c (generic_correspondence): Implement additional
distinguishability criteria of F08.
(compare_actual_formal): Reject data object as actual argument for
procedure formal argument.

2012-10-06  Janus Weil  <janus@gcc.gnu.org>

PR fortran/45521
* gfortran.dg/generic_25.f90: New.
* gfortran.dg/generic_26.f90: New.
* gfortran.dg/generic_27.f90: New.

From-SVN: r192157
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/generic_25.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/generic_26.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/generic_27.f90 [new file with mode: 0644]