From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21956 invoked by alias); 5 Oct 2011 14:11:22 -0000 Received: (qmail 21935 invoked by uid 22791); 5 Oct 2011 14:11:20 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_BG 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; Wed, 05 Oct 2011 14:10:34 +0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/43829] Scalarization of reductions Date: Wed, 05 Oct 2011 14:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mikael 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: 2011-10/txt/msg00249.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43829 --- Comment #39 from Tobias Burnus 2011-10-05 14:10:30 UTC --- Regarding the (In reply to comment #37) > Sorry, you should have asked for the latest patch. > I'll post a more up-to-date than the more up-to-date soon. Thanks. One comment: I think you will increase the binary size by inlining the reduction. Could you consider keeping the current libgfortran version and protecting the scalarization by if (!optimize_size) Or, if you replace unconditionally the library version, can you list the library funcition at http://gcc.gnu.org/wiki/LibgfortranAbiCleanup to make sure that it gets removed when gfortran breaks the ABI. (The latter has to happen when we change the array descriptor.)