[Patch, fortran] PR30531 and PR31086 - derived type association problems... again

FX Coudert fxcoudert@gmail.com
Sun Mar 18 12:00:00 GMT 2007


> 2007-03-10  Paul Thomas  <pault@gcc.gnu.org>
> 	PR fortran/30531
> 	PR fortran/31086
> 	* symbo.c : Add gfc_derived_types.
> 	(gfc_free_dt_list): Free derived type list gfc_derived_types.
> 	(gfc_free_namespace): Remove call to gfc_free_dt_list.
> 	(gfc_symbol_done_2): Call  gfc_free_dt_list.
> 	* gfortran.h : Declare gfc_derived_types to be external. Remove
> 	derived types field from gfc_namespace.
> 	* resolve.c (resolve_fl_derived): Refer to gfc_derived types
> 	rather than namespace derived_types.
> 	(resolve_fntype): Remove special treatment for module
> 	derived type functions.
> 	* trans-types.c (gfc_get_derived_type): Remove search for like
> 	derived types.  Finish by copying back end declaration to like
> 	derived types in the derived type list gfc_derived_types.

OK for 4.3. Looks OK for 4.2 to me, although you'll have to wait for  
some time...

Thanks for the work,

More information about the Gcc-patches mailing list