Re: [Patch] Fortran: Delay vtab generation until after parsing [PR92587]

2020-12-17 Thread Thomas Koenig via Gcc-patches
Hi Tobias, Thanks for the quick review! It helps when I'm on holiday :-) Best regards Thomas

Re: [Patch] Fortran: Delay vtab generation until after parsing [PR92587]

2020-12-17 Thread Tobias Burnus
Hi Thomas, hi all, On 17.12.20 10:02, Thomas Koenig via Fortran wrote: OK. Just one remark: Could you make the test into a run-time test to check that the finalizers are called correctly? Done – see attachment. Thanks for the quick review! Tobias - Mentor Graphics (Deutschla

Re: [Patch] Fortran: Delay vtab generation until after parsing [PR92587]

2020-12-17 Thread Thomas Koenig via Gcc-patches
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!