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
* [Bug middle-end/34744] Memory leaks in compiler with empty program 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 ` zadeck at naturalbridge dot com 2008-07-01 13:54 ` zadeck at naturalbridge dot com ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: zadeck at naturalbridge dot com @ 2008-01-12 14:03 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from zadeck at naturalbridge dot com 2008-01-12 13:16 ------- I know what this bug is but i do not actually know how to find it. The bug is caused by someone abandoning a basic block without going thur the api to properly delete it or merge it into another block. any suggestions on how to track this down would be appreciated. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34744 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/34744] Memory leaks in compiler with empty program 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 3 siblings, 0 replies; 5+ messages in thread From: zadeck at naturalbridge dot com @ 2008-07-01 13:54 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from zadeck at naturalbridge dot com 2008-07-01 13:53 ------- Fixed as revision 137284 and 137285. -- zadeck at naturalbridge dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34744 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/34744] Memory leaks in compiler with empty program 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 3 siblings, 0 replies; 5+ messages in thread From: zadeck at gcc dot gnu dot org @ 2008-07-01 13:58 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from zadeck at gcc dot gnu dot org 2008-07-01 13:57 ------- Subject: Bug 34744 Author: zadeck Date: Tue Jul 1 13:56:28 2008 New Revision: 137318 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137318 Log: Marked changelog entry with PR rtl-optimization/34744 Modified: trunk/gcc/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34744 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/34744] Memory leaks in compiler with empty program 2008-01-11 21:20 [Bug middle-end/34744] New: Memory leaks in compiler with empty program jvdelisle at gcc dot gnu dot org ` (2 preceding siblings ...) 2008-07-01 13:58 ` zadeck at gcc dot gnu dot org @ 2008-07-01 14:06 ` zadeck at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: zadeck at gcc dot gnu dot org @ 2008-07-01 14:06 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from zadeck at gcc dot gnu dot org 2008-07-01 14:06 ------- Subject: Bug 34744 Author: zadeck Date: Tue Jul 1 14:05:13 2008 New Revision: 137319 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137319 Log: 2008-07-01 Kenneth Zadeck <zadeck@naturalbridge.com> PR rtl-optimization/34744 * df-scan.c (df_scan_free_ref_vec, df_scan_free_mws_vec): New macros. (df_scan_free_internal): Free data structures not allocated in storage pools. (df_mw_hardreg_chain_delete_eq_uses): Use df_scan_free_mws_vec. (df_refs_add_to_chains): Use df_scan_free_ref_vec and df_scan_free_mws_vec. * dse.c (dse_step6): Free offset_map_p and offset_map_n unconditionally. * ifcvt.c (cond_move_process_if_block): Free vectors on false return. Modified: branches/gcc-4_3-branch/gcc/ChangeLog branches/gcc-4_3-branch/gcc/df-scan.c branches/gcc-4_3-branch/gcc/dse.c branches/gcc-4_3-branch/gcc/ifcvt.c -- 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).