re PR fortran/49112 ([OOP] Missing type-bound procedure, "duplicate save" warnings...
commit0291fa2509cbd6816d720aebfacdebffe1c9dcad
authorJanus Weil <janus@gcc.gnu.org>
Sun, 31 Jul 2011 10:25:07 +0000 (31 12:25 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sun, 31 Jul 2011 10:25:07 +0000 (31 12:25 +0200)
treec4625982e844ba31e0b2fdb405ec9ea56fba08d4
parent413e50a27db9ed8489cd6b4814f82a0cb99e6c38
re PR fortran/49112 ([OOP] Missing type-bound procedure, "duplicate save" warnings and internal compiler error)

2011-07-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/49112
* resolve.c (resolve_structure_cons): Don't do the full dt resolution,
only call 'resolve_fl_derived0'.
(resolve_typebound_procedures): Resolve typebound procedures of
parent type.
(resolve_fl_derived0): New function, which does a part of the work
for 'resolve_fl_derived'.
(resolve_fl_derived): Call 'resolve_fl_derived0' and do some additional
things.

2011-07-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/49112
* gfortran.dg/abstract_type_6.f03: Modified.
* gfortran.dg/typebound_proc_24.f03: New.

From-SVN: r176971
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/abstract_type_6.f03
gcc/testsuite/gfortran.dg/typebound_proc_24.f03 [new file with mode: 0644]