From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5312 invoked by alias); 4 Aug 2014 18:55:04 -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 4882 invoked by uid 55); 4 Aug 2014 18:55:00 -0000 From: "michael.collison at linaro dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/61033] [4.8/4.9 Regression] Infinite loop in variable tracking Date: Mon, 04 Aug 2014 18:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: michael.collison at linaro dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mkuvyrkov 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: 2014-08/txt/msg00230.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61033 --- Comment #7 from Michael Collison --- Charlie, I still feel that the var tracking pass should be able to protect itself from an infinite loop. On 8/4/2014 11:43 AM, cbaylis at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61033 > > --- Comment #6 from cbaylis at gcc dot gnu.org --- > > git bisect points to r211625 as the revision which fixes/hides this bug on > trunk. > > 2014-06-13 Richard Biener > > * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): > Rewrite to propagate the VN result into all uses where > possible and to remove stmts becoming dead because of that. > (eliminate): Generalize stmt removal handling, remove in > reverse dominator order to support proper debug stmt > generation. Update stmts before removing stmts. > * tree-ssa-propagate.c (propagate_tree_value): Remove > bogus assert. >