From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3974 invoked by alias); 3 Feb 2015 21:49:25 -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 3794 invoked by uid 55); 3 Feb 2015 21:49:21 -0000 From: "lucier at math dot purdue.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/64928] Inordinate cpu time and memory usage in "phase opt and generate" with -ftest-coverage -fprofile-arcs Date: Tue, 03 Feb 2015 21:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: lucier at math dot purdue.edu X-Bugzilla-Status: UNCONFIRMED 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: 2015-02/txt/msg00278.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64928 --- Comment #4 from lucier at math dot purdue.edu --- On 02/03/2015 04:32 PM, pinskia at gcc dot gnu.org wrote: > > --- Comment #2 from Andrew Pinski --- > Note phase opt and generate is a toplevel time area. > The passes which take most of the time are: I'm also concerned about excessive memory usage; the largest passes (> 20 MB) are alias analysis : 0.21 ( 1%) usr 0.00 ( 0%) sys 0.19 ( 1%) wall 23934 kB ( 5%) ggc tree SSA incremental : 0.23 ( 1%) usr 0.01 ( 1%) sys 0.26 ( 1%) wall 27481 kB ( 5%) ggc dominator optimization : 0.22 ( 1%) usr 0.01 ( 1%) sys 0.22 ( 1%) wall 27417 kB ( 5%) ggc tree loop invariant motion: 0.16 ( 0%) usr 0.03 ( 4%) sys 0.19 ( 1%) wall 64219 kB (12%) ggc expand : 0.39 ( 1%) usr 0.02 ( 2%) sys 0.40 ( 1%) wall 87038 kB (17%) ggc CSE : 7.53 (21%) usr 0.01 ( 1%) sys 7.53 (20%) wall 30934 kB ( 6%) ggc integrated RA : 0.87 ( 2%) usr 0.00 ( 0%) sys 0.99 ( 3%) wall 48097 kB ( 9%) ggc LRA non-specific : 1.61 ( 4%) usr 0.01 ( 1%) sys 1.63 ( 4%) wall 37254 kB ( 7%) ggc This also affects the 4.8 branch and the mainline.