From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9004 invoked by alias); 18 Mar 2012 16:23:48 -0000 Received: (qmail 8994 invoked by uid 22791); 18 Mar 2012 16:23:47 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Sun, 18 Mar 2012 16:23:34 +0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/41969] [LTO] 23% slow-down with -flto -fwhole-program Date: Sun, 18 Mar 2012 16:32: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: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status CC Resolution 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-03/txt/msg01482.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41969 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |burnus at gcc dot gnu.org Resolution| |FIXED --- Comment #5 from Tobias Burnus 2012-03-18 16:23:12 UTC --- (In reply to comment #4) > Is this still true? It seems to be FIXED - and the performance is now better as well! (In reply to comment #0) > The following test case takes > 9.100s with gfortran -O3 > 11.113s with gfortran -flto -fwhole-program -O3 Now with GCC 4.8: 6.780s (For completeness, with -fno-whole-file: 11.106s) > 5.205s with gfortran -ffast-math -march=native -funroll-loops -O3 > 7.414s with gfortran -ffast-math -march=native -funroll-loops -flto > -fwhole-program -O3 Now: 4.765s