This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/49112] [4.6/4.7 Regression] [OOP] Missing type-bound procedure, "duplicate save" warnings and internal compiler error


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49112

--- Comment #19 from janus at gcc dot gnu.org 2011-07-31 10:25:11 UTC ---
Author: janus
Date: Sun Jul 31 10:25:07 2011
New Revision: 176971

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176971
Log:
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.

Added:
    trunk/gcc/testsuite/gfortran.dg/typebound_proc_24.f03
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/abstract_type_6.f03


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]