https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92587
--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>: https://gcc.gnu.org/g:6f3f06e431c181d3e51d31f49a2bf0be2944ae93 commit r10-9199-g6f3f06e431c181d3e51d31f49a2bf0be2944ae93 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. (cherry picked from commit ba9fa684053917a07bfa8f4742da0e196e72b9a2)