Am 30.11.2012 11:22, schrieb Janus Weil: > In my version of the patch I introduced a routine 'gfc_is_finalizable' > to perform this decision. Okay. How about the following patch? It's the same without the renaming. Build an regtested on x86-64-linux.* OK for the trunk? * * * I will submit your gfc_is_finalizable together with some other auxiliary changes after that patch has been accepted. I know that even with the auxiliary functions added and the updated finalization wrapper, it will take some work to get the remaining issues fixed. I am not sure that the automatic deallocation in the main program is really the most pressing issue with regards to finalization, but it surely one of the items. Tobias * I really like the GCC Build farm.