https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92587
--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>: https://gcc.gnu.org/g:ba9fa684053917a07bfa8f4742da0e196e72b9a2 commit r11-6194-gba9fa684053917a07bfa8f4742da0e196e72b9a2 Author: Tobias Burnus <tob...@codesourcery.com> Date: Thu Dec 17 10:39:09 2020 +0100 Fortran: Delay vtab generation until after parsing [PR92587] gcc/fortran/ChangeLog: PR fortran/92587 * match.c (gfc_match_assignment): Move gfc_find_vtab call from here ... * resolve.c (gfc_resolve_code): ... to here. gcc/testsuite/ChangeLog: PR fortran/92587 * gfortran.dg/finalize_37.f90: New test.