Ping [PATCH, fortran] PR 41936 Memory leakage with allocatables and user-defined operators

Dominique Dhumieres dominiq@lps.ens.fr
Mon Jun 16 09:34:00 GMT 2014


Dear Paul,

Late thanks for the review, the patch has been committed to trunk at r211405.

> OK for trunk and, I would suggest 4.9.

I am now trying to do the back port to 4.9 and I got two failures:

FAIL: gfortran.dg/alloc_comp_basics_1.f90  -O*   scan-tree-dump-times original "builtin_free" 18
FAIL: gfortran.dg/alloc_comp_constructor_1.f90  -O*   scan-tree-dump-times original "builtin_free" 19

In both cases the number of "builtin_free" is 21. I have run the executables for the patched/unpatched
4.9 through valgrind without error in both cases.

I can indeed make the tests pass by updating the counst in scan-tree-dump-times, but
I'ld like some advice before committing that.

TIA

Dominique



More information about the Gcc-patches mailing list