From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7454 invoked by alias); 19 Jan 2014 21:28:46 -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 7424 invoked by uid 48); 19 Jan 2014 21:28:43 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/59802] excessive compile time in RTL optimizers (loop unswitching, CPROP) Date: Sun, 19 Jan 2014 21:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: RESOLVED 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-01/txt/msg02083.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59802 --- Comment #8 from David Binderman --- (In reply to Richard Biener from comment #7) > Fixed. The results I can report are for trunk dated 20130119 [dcb@zippy4 foundBugs]$ time ../results/bin/gcc -c bug129.cc real 0m8.076s user 0m5.925s sys 0m0.131s [dcb@zippy4 foundBugs]$ time ../results/bin/gcc -c -O2 bug129.cc real 1m0.706s user 0m57.884s sys 0m0.402s [dcb@zippy4 foundBugs]$ time ../results/bin/gcc -c -O3 bug129.cc real 5m45.982s user 5m42.793s sys 0m0.457s while the first time is trivial, the -O2 time is down by about 60% and the -O3 time is down by about 30%. Good work !