https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96041
--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:0e442063a0adf01e6348e9fc55cc3e9869974769 commit r9-8921-g0e442063a0adf01e6348e9fc55cc3e9869974769 Author: Tobias Burnus <tob...@codesourcery.com> Date: Thu Sep 17 14:01:09 2020 +0200 Fortran: Avoid double-free with parse error (PR96041, PR93423) gcc/fortran/ PR fortran/96041 PR fortran/93423 * decl.c (gfc_match_submod_proc): Avoid later double-free in the error case. (cherry picked from commit c12facd22881517127ebbe213d7ecc7fc1fcea4e)