------- Comment #9 from wirawan0 at gmail dot com 2010-02-26 16:06 ------- Here's a brief run with valgrind 3.5.0: I had to recompile glibc (2.10.1) with "splitdebug" feature in Gentoo OS for it to work.
~/toys/gfortran/ch10 $ valgrind /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.3/f951 testme5.noppx.f90 -quiet -dumpbase testme5.noppx.f90 -mtune=generic -auxbase testme5.noppx -version -o testme5.noppx.s -fintrinsic-modules-path /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/finclude ==7813== Memcheck, a memory error detector ==7813== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==7813== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==7813== Command: /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.3/f951 testme5.noppx.f90 -quiet -dumpbase testme5.noppx.f90 -mtune=generic -auxbase testme5.noppx -version -o testme5.noppx.s -fintrinsic-modules-path /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/finclude ==7813== GNU Fortran (Gentoo 4.4.3 p1.0) version 4.4.3 (x86_64-pc-linux-gnu) compiled by GNU C version 4.4.3, GMP version 4.3.1, MPFR version 2.4.1-p5. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ==7813== ==7813== HEAP SUMMARY: ==7813== in use at exit: 427,388 bytes in 1,287 blocks ==7813== total heap usage: 2,829 allocs, 1,542 frees, 1,405,467 bytes allocated ==7813== ==7813== LEAK SUMMARY: ==7813== definitely lost: 160 bytes in 2 blocks ==7813== indirectly lost: 0 bytes in 0 blocks ==7813== possibly lost: 16,128 bytes in 4 blocks ==7813== still reachable: 411,100 bytes in 1,281 blocks ==7813== suppressed: 0 bytes in 0 blocks ==7813== Rerun with --leak-check=full to see details of leaked memory ==7813== ==7813== For counts of detected and suppressed errors, rerun with: -v ==7813== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 6) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43146