http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58058
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-08-02
CC| |janus at gcc dot gnu.org,
| |pault at gcc dot gnu.org
Summary|Memory leak with transfer |[4.7/4.8/4.9 Regression]
|function |Memory leak with transfer
| |function
Ever confirmed|0 |1
--- Comment #1 from janus at gcc dot gnu.org ---
I can confirm the leak with gfortran versions 4.7, 4.8 and trunk. However,
there is no leak in 4.3, so it is a regression (haven't tried other versions).
Indeed the dump produced by -fdump-tree-original shows a __builtin_malloc,
which is never freed. The regression seems to be due to this commit:
http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=143462