From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24028 invoked by alias); 22 Aug 2012 09:33:02 -0000 Received: (qmail 24013 invoked by uid 22791); 22 Aug 2012 09:33:01 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Aug 2012 09:32:14 +0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/54343] RTL postreload leaks DF memory Date: Wed, 22 Aug 2012 09:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-08/txt/msg01526.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54343 --- Comment #4 from Richard Guenther 2012-08-22 09:32:13 UTC --- (In reply to comment #3) > HJ's fix for PR 54332 will probably fix this one, too. Could you re-test? > > Thanks. Doesn't fix it. ==18936== 3,984 bytes in 249 blocks are definitely lost in loss record 28,126 of 29,883 ==18936== at 0x4C29ADD: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==18936== by 0xCE2D27: xmalloc (xmalloc.c:147) ==18936== by 0x6B05FD: df_refs_add_to_chains(df_collection_rec*, basic_block_def*, rtx_def*) (df-scan.c:2669) ==18936== by 0x6B50B4: df_bb_refs_record(int, bool) (df-scan.c:3644) ==18936== by 0x6B51BC: df_scan_blocks() (df-scan.c:678) ==18936== by 0x7B6C1D: rest_of_handle_reload() (ira.c:4390) ==18936== by 0x818CEA: execute_one_pass(opt_pass*) (passes.c:2157) ==18936== by 0x819034: execute_pass_list(opt_pass*) (passes.c:2212) ==18936== by 0x819046: execute_pass_list(opt_pass*) (passes.c:2213) ==18936== by 0x68F533: expand_function(cgraph_node*) (cgraphunit.c:1609) ==18936== by 0x690998: compile() (cgraphunit.c:1714) ==18936== by 0x690F14: finalize_compilation_unit() (cgraphunit.c:2089)