From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26979 invoked by alias); 14 Nov 2012 20:11:52 -0000 Received: (qmail 26602 invoked by uid 48); 14 Nov 2012 20:11:23 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/54717] [4.8 Regression] Runtime regression: polyhedron test "rnflow" degraded Date: Wed, 14 Nov 2012 20:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization 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: 4.8.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-11/txt/msg01284.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54717 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #14 from Jan Hubicka 2012-11-14 20:11:17 UTC --- Hmm, the optimize_edge_for_speed never returns false here. The problem is that patch assumes that interesting successors of block with partial anticipance are blocks with partial anticipance. The anticipance however could be full and it seems that full anticipance do not imply partial one Index: tree-ssa-pre.c =================================================================== *** tree-ssa-pre.c (revision 193503) --- tree-ssa-pre.c (working copy) *************** do_partial_partial_insertion (basic_bloc *** 3525,3531 **** may cause regressions on the speed path. */ FOR_EACH_EDGE (succ, ei, block->succs) { ! if (bitmap_set_contains_value (PA_IN (succ->dest), val)) { if (optimize_edge_for_speed_p (succ)) do_insertion = true; --- 3525,3532 ---- may cause regressions on the speed path. */ FOR_EACH_EDGE (succ, ei, block->succs) { ! if (bitmap_set_contains_value (PA_IN (succ->dest), val) ! || bitmap_set_contains_value (ANTIC_IN (succ->dest), val)) { if (optimize_edge_for_speed_p (succ)) do_insertion = true;