re PR fortran/57530 ([OOP] Wrongly rejects type_pointer => class_target (which have...
authorTobias Burnus <burnus@net-b.de>
Tue, 30 Jul 2013 07:20:43 +0000 (09:20 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Tue, 30 Jul 2013 07:20:43 +0000 (09:20 +0200)
commit60de1c7df5486e81b52c9db5003abba08af7b3f9
tree420ee33b8dd91814a2068c907feb2674cb4e5e5a
parentb882aaa84d700fc91c00ad314e876ce40aab370b
re PR fortran/57530 ([OOP] Wrongly rejects  type_pointer => class_target (which have identical declared type))

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.

From-SVN: r201329
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/fortran/symbol.c