Re: [Patch, Fortran] PR 48700: memory leak with MOVE_ALLOC

2011-05-18 Thread Janus Weil
>> The patch was regtested on x86_64-unknown-linux-gnu. Ok for trunk? > > OK. Thanks for the patch! Thanks, Tobias. Committed as r173874. > (What next on your gfortran agenda?) Well, I am pretty busy with my "day job" at university and working on my PhD, which will not allow me to make huge lea

Re: [Patch, Fortran] PR 48700: memory leak with MOVE_ALLOC

2011-05-18 Thread Tobias Burnus
Janus Weil wrote: > The patch was regtested on x86_64-unknown-linux-gnu. Ok for trunk? OK. Thanks for the patch! (What next on your gfortran agenda?) Tobias PS: For the following two patches review is pending: My trans*.c coarray patch at http://gcc.gnu.org/ml/fortran/2011-05/msg00123.html Ja

[Patch, Fortran] PR 48700: memory leak with MOVE_ALLOC

2011-05-16 Thread Janus Weil
Hi all, here is a simple patch which takes care of fixing a memory leak, which occurs when calling MOVE_ALLOC with allocatable scalar arguments. We simply missed to deallocate the second argument 'TO', which is INTENT(OUT), in case it is already allocated. The patch was regtested on x86_64-unknow