public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/34744]  New: Memory leaks in compiler with empty program
@ 2008-01-11 21:20 jvdelisle at gcc dot gnu dot org
  2008-01-12 14:03 ` [Bug middle-end/34744] " zadeck at naturalbridge dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-01-11 21:20 UTC (permalink / raw)
  To: gcc-bugs

Memory leak with empty Fortran programs: latest trunk

Given:

program gamsanal
end

$ valgrind --leak-check=full f951 pr34722.f90

==20839== 1,408 bytes in 20 blocks are definitely lost in loss record 2 of 6
==20839==    at 0x4A059F6: malloc (vg_replace_malloc.c:149)
==20839==    by 0xB1B567: xmalloc (xmalloc.c:147)
==20839==    by 0x51E842: df_install_refs (df-scan.c:2425)
==20839==    by 0x51EADA: df_refs_add_to_chains (df-scan.c:2551)
==20839==    by 0x52029F: df_record_exit_block_uses (df-scan.c:3808)
==20839==    by 0x5218D0: df_scan_blocks (df-scan.c:597)
==20839==    by 0x51499D: rest_of_handle_df_initialize (df-core.c:742)
==20839==    by 0x65C925: execute_one_pass (passes.c:1118)
==20839==    by 0x65CAEB: execute_pass_list (passes.c:1171)
==20839==    by 0x65CAFD: execute_pass_list (passes.c:1172)
==20839==    by 0x735345: tree_rest_of_compilation (tree-optimize.c:404)
==20839==    by 0x8E55E1: cgraph_expand_function (cgraphunit.c:1152)
==20839== 
==20839== LEAK SUMMARY:
==20839==    definitely lost: 1,408 bytes in 20 blocks.
==20839==      possibly lost: 64 bytes in 2 blocks.
==20839==    still reachable: 297,659 bytes in 951 blocks.
==20839==         suppressed: 0 bytes in 0 blocks.
==20839== Reachable blocks (those to which a pointer was found) are not shown.
==20839== To see them, rerun with: --leak-check=full --show-reachable=yes


-- 
           Summary: Memory leaks in compiler with empty program
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jvdelisle at gcc dot gnu dot org
  GCC host triplet: x86-64-linux-gni


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-01 14:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-11 21:20 [Bug middle-end/34744] New: Memory leaks in compiler with empty program jvdelisle at gcc dot gnu dot org
2008-01-12 14:03 ` [Bug middle-end/34744] " zadeck at naturalbridge dot com
2008-07-01 13:54 ` zadeck at naturalbridge dot com
2008-07-01 13:58 ` zadeck at gcc dot gnu dot org
2008-07-01 14:06 ` zadeck at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).