[PATCH,FORTRAN] Fix memory leak of gsymbol

Harald Anlauf anlauf@gmx.de
Sun Oct 31 19:46:07 GMT 2021


Am 30.10.21 um 23:51 schrieb Bernhard Reutner-Fischer via Fortran:
>>> The only caller is translate_all_program_units.
>>> Since we free only module gsyms, even -fdump-fortran-global is
>>> unaffected by this, fwiw.
>
> AFAICS we do not have a test for -fdump-fortran-global
> Do we want to add one, would the attached be OK?

This doesn't seem to test anything new or changed, or a bug fixed.
I get the same result for all version from 9 to 12-mainline.
So as is it seems pointless.

> thanks,
>



More information about the Fortran mailing list