public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/99053] New: memory leak in module reading, gfc_new_symbol
@ 2021-02-10 7:09 rguenth at gcc dot gnu.org
2021-02-10 7:12 ` [Bug fortran/99053] " rguenth at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-02-10 7:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99053
Bug ID: 99053
Summary: memory leak in module reading, gfc_new_symbol
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
It looks like gfc_symbols as allocated via module reading are never
deallocated, even when the frontend finished parsing. Compiling 521.wrf_r
module_cpl.fppized.f90 like
1612940030.01: ==2296== Memcheck, a memory error detector
1612940030.01: ==2296== Copyright (C) 2002-2017, and GNU GPL'd, by Julian
Seward et al.
1612940030.01: ==2296== Using Valgrind-3.15.0 and LibVEX; rerun with -h for
copyright info
1612940030.01: ==2296== Command:
/home/rguenther/install/gcc-test/usr/local/bin/../lib/gcc/x86_64-pc-linux-gnu/11.0.0/f951
module_cpl.fppized.f90 -I . -I ./netcdf/include -I ./inc -quiet -dumpbase
module_cpl.fppized.f90 -dumpbase-ext .f90 -march=znver2 -g0 -Ofast -std=legacy
-fconvert=big-endian -fno-openmp -fintrinsic-modules-path
/home/rguenther/install/gcc-test/usr/local/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.0.0/finclude
-o /tmp/ccSQlHm7.s
shows this and various other fortran FE leaks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-10 7:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-10 7:09 [Bug fortran/99053] New: memory leak in module reading, gfc_new_symbol rguenth at gcc dot gnu.org
2021-02-10 7:12 ` [Bug fortran/99053] " rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).