From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6393 invoked by alias); 21 Oct 2014 09:50:29 -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 6343 invoked by uid 48); 21 Oct 2014 09:50:25 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/61515] [4.9/5 Regression] Extremely long compile time for generated code Date: Tue, 21 Oct 2014 09:52: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-Version: 5.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: law at redhat dot com X-Bugzilla-Target-Milestone: 4.9.2 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-10/txt/msg01588.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61515 --- Comment #17 from Richard Biener --- Oops, that's not 100% the same. But /* Now invalidate all equivalencies we have to invalidate. */ for (unsigned int i = 1; i < num_ssa_names; ++i) { tree name = ssa_name (i); if (!name) continue; tree val = SSA_NAME_VALUE (name); if (TREE_CODE (val) == SSA_NAME && bitmap_bit_p (to_invalidate, SSA_NAME_VERSION (val))) record_temporary_equivalence (name, NULL_TREE, stack); } unsigned i; bitmap_iterator bi; EXECUTE_IF_SET_IN_BITMAP (to_invalidate, 0, i, bi) { tree name = ssa_name (i); if (SSA_NAME_VALUE (ssa_name (i))) record_temporary_equivalence (name, NULL_TREE, stack); } would be.