From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28880 invoked by alias); 28 Aug 2012 11:28:30 -0000 Received: (qmail 28869 invoked by uid 22791); 28 Aug 2012 11:28:30 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED 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; Tue, 28 Aug 2012 11:28:17 +0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/38474] slow compilation at -O0 due to expand's temp slot goo Date: Tue, 28 Aug 2012 11:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Keywords: compile-time-hog, memory-hog, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: matz at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: 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-08/txt/msg01846.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38474 --- Comment #70 from Joost VandeVondele 2012-08-28 11:28:06 UTC --- (In reply to comment #69) > Is there still a problem here? for current trunk and the original testcase, timings are reasonable at -O0 -O1 -O2, but very long at -O3 (>60min): report.O0.txt: TOTAL : 38.78 0.89 39.67 691166 kB report.O1.txt: TOTAL : 70.04 1.13 71.22 634523 kB report.O2.txt: TOTAL : 204.51 1.16 205.71 691522 kB the biggest consumers are -O0: ==== integrated RA : 10.36 reload : 5.16; -O1: ==== tree PTA : 7.77 integrated RA : 13.36 -O2: ==== expand vars : 83.15 tree PTA : 35.04 -O3: (also needs about 4Gb of memory) ==== ??? not yet finished (>60min)