This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR 58058: [4.7/4.8/4.9 Regression] Memory leak with transfer function
- From: Janus Weil <janus at gcc dot gnu dot org>
- To: Mikael Morin <mikael dot morin at sfr dot fr>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 9 Aug 2013 19:06:07 +0200
- Subject: Re: [Patch, Fortran] PR 58058: [4.7/4.8/4.9 Regression] Memory leak with transfer function
- References: <CAKwh3qgaoH2_j7eEGtMS_HHtFE3aRKkUHzZk0jigxYmuicCvnA at mail dot gmail dot com> <CAKwh3qhmWwykf5pu=f1wxhxBKvZ-2pkY74ni5OpUrJGnNVwbWQ at mail dot gmail dot com> <52050C21 dot 2090303 at sfr dot fr>
Hi Mikael,
>>> the attached patch plugs a memory leak of the TRANSFER intrinsic,
>>> which can occur when transferring to CHARACTER strings. For details
>>> see the PR.
>>>
>>> Regtested on x86_64-unknown-linux-gnu. Ok for trunk/4.8/4.7?
>>>
> Looks good, yes.
> Thanks.
thanks a lot for the review! I have committed to trunk as r201633.
Will do 4.8 and 4.7 soon (assuming your OK also applies to those ...)
Cheers,
Janus