[Patch, Fortran] Derived-type finalization, split up: module.c part
Daniel Kraft
d@domob.eu
Tue Aug 5 13:21:00 GMT 2008
Paul Richard Thomas wrote:
>> We call gfc_free_namespace in gfc_free_symbol; that should do the trick,
>> shouldn't it?
>
> Yes, indeed. I did not check gfc_finalizers' clening up - is that clean?
gfc_free_symbol frees the f2k_derived namespace if it is there;
gfc_free_namespace in turn frees the list of finalizers (if not NULL)
with the procedure in the patch. I believe everything should be
allright, as far as I can tell.
Daniel
--
Done: Arc-Bar-Sam-Val-Wiz, Dwa-Elf-Gno-Hum-Orc, Law-Neu-Cha, Fem-Mal
Underway: Cav-Dwa-Law-Fem
To go: Cav-Hea-Kni-Mon-Pri-Ran-Rog-Tou
More information about the Gcc-patches
mailing list