From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21669 invoked by alias); 10 Jan 2013 11:30:06 -0000 Received: (qmail 21301 invoked by uid 48); 10 Jan 2013 11:29:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/55792] [4.8 Regression] Bad memory access with profiledbootstrap and LTO Date: Thu, 10 Jan 2013 11:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: Status AssignedTo 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: 2013-01/txt/msg00928.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55792 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org |gnu.org | --- Comment #24 from Richard Biener 2013-01-10 11:29:16 UTC --- Created attachment 29139 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29139 patch to verify locations as LTO expects them This verifies that all stmts locations (missing expr locations) have a BLOCK that is in the functions BLOCK tree (_not_ counting abstract origins, as LTO does not stream the abstract part of the BLOCK tree!). It fires on trivial inlining testcases which means that LTO will end up with the issue you are seeing. Ugh. Investigating.