[Patch, Fortran, OOP] PR 42769: ICE in resolve_typebound_procedure
Tobias Burnus
burnus@net-b.de
Sun Aug 29 20:49:00 GMT 2010
Janus Weil wrote:
> Ok for trunk?
OK, though I wonder whether
+ /* Make sure the vtab has been generated. */
+ vtab = gfc_find_derived_vtab (derived);
will not lead to an assigned-but-not-used warning? Wouldn't a simple
+ gfc_find_derived_vtab (derived);
be sufficient?
Tobias,
who has not compiled the code.
> 2010-08-29 Janus Weil<janus@gcc.gnu.org>
>
> PR fortran/42769
> * resolve.c (resolve_structure_cons): For derived types, make sure the
> type has been resolved.
> (resolve_typebound_procedures): Make sure the vtab has been generated.
>
>
> 2010-08-29 Janus Weil<janus@gcc.gnu.org>
>
> PR fortran/42769
> * gfortran.dg/dynamic_dispatch_11.f03: New.
More information about the Fortran
mailing list