From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6220 invoked by alias); 29 Aug 2014 12:40:28 -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 6173 invoked by uid 55); 29 Aug 2014 12:40:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/62291] PRE uses too much memory and compile-time Date: Fri, 29 Aug 2014 12:40: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: 4.9.1 X-Bugzilla-Keywords: compile-time-hog, memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: --- 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/msg01979.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62291 --- Comment #1 from Richard Biener --- Author: rguenth Date: Fri Aug 29 12:39:50 2014 New Revision: 214727 URL: https://gcc.gnu.org/viewcvs?rev=214727&root=gcc&view=rev Log: 2014-08-29 Richard Biener PR tree-optimization/62291 * tree-ssa-pre.c (sorted_array_from_bitmap_set): Reserve exactly the vector size needed and use quick_push. (phi_translate_1): Adjust comment. (valid_in_sets): Remove block argument and remove pointless checking of NAMEs. (dependent_clean): Adjust for removal of block argument. (clean): Likewise. (compute_antic_aux): Likewise. (compute_partial_antic_aux): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-pre.c