re PR fortran/39295 (Too strict interface conformance check)
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 26 Feb 2009 18:43:50 +0000 (18:43 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 26 Feb 2009 18:43:50 +0000 (18:43 +0000)
commit489ec4e3bd232d184845a5b71322dfe18e65529f
treed310ef8eaa5e71425a136cec8058b82462b5febc
parentebb9cc41a88a3db8ebf141e15cf4fe2a094cb262
re PR fortran/39295 (Too strict interface conformance check)

2009-02-26  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/39295
* interface.c (compare_type_rank_if): Return 1 if the symbols
are the same and deal with external procedures where one is
identified to be a function or subroutine by usage but the
other is not.

2009-02-26  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/39295
* gfortran.dg/interface_25.f90: New test.
* gfortran.dg/interface_26.f90: New test.

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