[Bug fortran/121972] [PDT] pdt_3.f03 leaks memory
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 12 17:15:02 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121972
--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Out of 79 tests gfortran.dg/pdt*.f*, the following leak memory:
pdt_2.f03 - should fail in runtime and so leaks memory.
pdt_3.f03, pdt_39.f03 - sources of memory leaks are marked as comments
pdt_70.f03 - fails with memory allocated from line 108: call alloc_ts(c)
pdt_77.f03 - not investigated in detail yet.
A common theme appears to leaks caused by allocations of PDT with source.
Paul
More information about the Gcc-bugs
mailing list