Hi Tobias,

Calling gfc_find_vtab during resolution during parsing
comes too early for finalizers. This patch just moves it
to the resolution, which seems to be the simplest solution.

Ah, finalizers - one area where we still are deficient WRT Fortran 2003.
Thanks for doing things in this area!

(I tried way more complicated ones which do not work; thus,
I settled for the simple solution ...)

Certainly sounds like a good idea to do so.

OK for GCC 9/10/mainline?

OK. Just one remark: Could you make the test into a run-time test
to check that the finalizers are called correctly?

Best regards

        Thomas

Reply via email to