https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68800
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Bernhard Reutner-Fischer <al...@gcc.gnu.org>: https://gcc.gnu.org/g:2521390dd2f8e554ecccb380e0efd7aa21cd4b5f commit r14-567-g2521390dd2f8e554ecccb380e0efd7aa21cd4b5f Author: Bernhard Reutner-Fischer <al...@gcc.gnu.org> Date: Sun May 7 00:02:21 2023 +0200 Fortran: Fix mpz and mpfr memory leaks [PR fortran/68800] gcc/fortran/ChangeLog: PR fortran/68800 * expr.cc (find_array_section): Fix mpz memory leak. * simplify.cc (gfc_simplify_reshape): Fix mpz memory leaks in error paths.