http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60922

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2014-04-27
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
On x86_64-apple-darwin* I see the memory leak for all the revisions I have
tested from 4.5 to trunk. For 4.8.2 on x86_64-apple-darwin10 valgrind reports;

 Iteration            1
==16277== Conditional jump or move depends on uninitialised value(s)
==16277==    at 0x1000012FF: __d_vect_mod_MOD_d_vect_bld_x (pr60922.f90:118)
==16277==    by 0x100001A33: MAIN__ (pr60922.f90:155)
==16277==    by 0x100001A7D: main (pr60922.f90:127)
==16277==  Uninitialised value was created by a stack allocation
==16277==    at 0x100001115: __d_vect_mod_MOD_d_vect_bld_x (pr60922.f90:111)
==16277== 
==16277== Conditional jump or move depends on uninitialised value(s)
==16277==    at 0x100001309: __d_vect_mod_MOD_d_vect_bld_x (pr60922.f90:118)
==16277==    by 0x100001A33: MAIN__ (pr60922.f90:155)
==16277==    by 0x100001A7D: main (pr60922.f90:127)
==16277==  Uninitialised value was created by a stack allocation
==16277==    at 0x100001115: __d_vect_mod_MOD_d_vect_bld_x (pr60922.f90:111)
==16277== 
 Iteration            2
==16277== 
==16277== HEAP SUMMARY:
==16277==     in use at exit: 2,097,288 bytes in 3 blocks
==16277==   total heap usage: 22 allocs, 19 frees, 6,295,373 bytes allocated
==16277== 
==16277== 48 bytes in 1 blocks are still reachable in loss record 1 of 3
==16277==    at 0x100014679: malloc (vg_replace_malloc.c:266)
==16277==    by 0x10000124D: __d_vect_mod_MOD_d_vect_bld_x (pr60922.f90:116)
==16277==    by 0x100001A33: MAIN__ (pr60922.f90:155)
==16277==    by 0x100001A7D: main (pr60922.f90:127)
==16277== 
==16277== 2,097,152 bytes in 1 blocks are still reachable in loss record 3 of 3
==16277==    at 0x100014679: malloc (vg_replace_malloc.c:266)
==16277==    by 0x1000016FB: __d_vect_mod_MOD_array_bld (pr60922.f90:85)
==16277==    by 0x100001A0A: MAIN__ (pr60922.f90:145)
==16277==    by 0x100001A7D: main (pr60922.f90:127)
==16277== 
==16277== LEAK SUMMARY:
==16277==    definitely lost: 0 bytes in 0 blocks
==16277==    indirectly lost: 0 bytes in 0 blocks
==16277==      possibly lost: 0 bytes in 0 blocks
==16277==    still reachable: 2,097,200 bytes in 2 blocks
==16277==         suppressed: 88 bytes in 1 blocks
==16277== 
==16277== For counts of detected and suppressed errors, rerun with: -v
==16277== ERROR SUMMARY: 4 errors from 2 contexts (suppressed: 0 from 0)

Reply via email to