Dear Andre, The patch looks fine to me. OK for 5-branch.
Thanks for the patch. Paul On 26 January 2016 at 13:28, Andre Vehreschild <ve...@gmx.de> wrote: > Hi all, > > please find attached a patch to solve the issue of evaluating a source= > expression of an allocate() twice in gcc-5. The patch is a combination > and partial back port of several prs of the mainline (namely, but not > the complete list: pr44672, pr65548). > > The patch needed the counts of builtin_mallocs/frees in > allocatable_scalar_13 to be adapted. There are now fewer calls to the > memory management routines. Valgrind does not report any memory issues > in the modified code, but that does not mean there aren't any. I am > happy to hear about any issue, this patch causes (still having issues > getting the sanitizer to work). > > Bootstrapped and regtested on x86_64-linux-gnu/F23. > > Ok, for gcc-5-branch? > > Regards, > Andre > -- > Andre Vehreschild * Email: vehre ad gmx dot de -- The difference between genius and stupidity is; genius has its limits. Albert Einstein