From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17135 invoked by alias); 29 Feb 2012 11:31:00 -0000 Received: (qmail 17124 invoked by uid 22791); 29 Feb 2012 11:30:59 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_GJ 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, 29 Feb 2012 11:30:46 +0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/52001] [4.7 Regression] Huge compile-time regression with var-tracking Date: Wed, 29 Feb 2012 11:36: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-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: gjl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 X-Bugzilla-Changed-Fields: CC 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-02/txt/msg02783.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52001 Georg-Johann Lay changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gjl at gcc dot gnu.org --- Comment #7 from Georg-Johann Lay 2012-02-29 11:30:14 UTC --- (In reply to comment #6) > Author: aoliva > Date: Sat Feb 25 12:09:41 2012 > New Revision: 184572 > > URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184572 > Log: > PR debug/52001 > * alias.c (refs_newer_value_cb, refs_newer_value_p): New. > (get_addr): Walk canonical value's locs. Avoid returning VALUEs > and locs that reference values newer than the non-canonical value > at hand. Return the canonical value as a worst case. > (memrefs_conflict_p): Walk canonical value's locs. > > Modified: > trunk/gcc/ChangeLog > trunk/gcc/alias.c This caused PR52417. With alias.c at r184571 the compiler does not enter infinite loop.