This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/34744] New: Memory leaks in compiler with empty program
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2008 20:27:32 -0000
- Subject: [Bug middle-end/34744] New: Memory leaks in compiler with empty program
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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