On Tue, Jan 17, 2012 at 13:24, Tobias Burnus <bur...@net-b.de> wrote: > This patch nullifies (scalar) allocatables after malloc, if (and only if) > they contain allocatable components to make sure that no uninitialized > memory is accessed. > > Build and regtested on x86-64-linux. > OK for the trunk?
calloc potentially has better performance than malloc+memset, and has smaller generated code size too. -- Janne Blomqvist