From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91878 invoked by alias); 27 Mar 2015 07:26:11 -0000 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 Received: (qmail 91754 invoked by uid 48); 27 Mar 2015 07:26:02 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/65536] LTO line number information garbled Date: Fri, 27 Mar 2015 08:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka 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-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg03091.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65536 --- Comment #48 from Jan Hubicka --- I run memory statistics with the cache and my patch. I will run stats with cache w/o the libcpp patch tomorrow. I would like to get this problem solved, but perhaps we want to only track down the reason for wrong line numbers and do more tuning next stage1 & backport. I suppose I can implement checking that will lookup location after every insert to double check lines are not garbled. Dropped columns are I guess acceptable (it would be nice to drop the wrong carrets then) So for memory use: realloc_for_line_map is now at 16810000: 0.9% of GGC memory use pre-IPA. This is definitly improvement. Gimple streaming however push it up to 75497496:4.2% I guess this suggest that caching blocks and gimple stmt locators would make a lot of difference. ltrans report 4194328: 5.4% post main decl streaming, but before bodies are read in.