2013-07-30 Tobias Burnus <burnus@net-b.de>
commit8bf47ddea1b9fa2498345da4ee387a178b0a176f
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jul 2013 07:20:43 +0000 (30 07:20 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jul 2013 07:20:43 +0000 (30 07:20 +0000)
tree420ee33b8dd91814a2068c907feb2674cb4e5e5a
parent9919de520596e9569d3e7c65f18504b732742803
2013-07-30  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57530
        * symbol.c (gfc_type_compatible): A type is type compatible with
        a class if both have the same declared type.
        * interface.c (compare_type): Reject CLASS/TYPE even if they
        are type compatible.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201329 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/fortran/symbol.c