From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24618 invoked by alias); 29 Mar 2008 04:49:23 -0000 Received: (qmail 24522 invoked by uid 48); 29 Mar 2008 04:48:39 -0000 Date: Sat, 29 Mar 2008 04:49:00 -0000 Message-ID: <20080329044839.24521.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/34128] slow gfortran 4.x (library?) compared to g77 3.4 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jvdelisle at gcc dot gnu dot org" 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: 2008-03/txt/msg02346.txt.bz2 ------- Comment #7 from jvdelisle at gcc dot gnu dot org 2008-03-29 04:48 ------- The disparity goes away mostly using -ffast-math $ g77 -ffast-math demo1.f -o g771 $ time ./g771 result = -0.690680927 real 0m0.594s user 0m0.590s sys 0m0.004s $ gfc -ffast-math demo1.f -o gfc1 $ time ./gfc1 result = -0.69068092664138392 real 0m0.720s user 0m0.716s sys 0m0.003s Regardless sinf needs some work. See also glibc bug 1163: http://sources.redhat.com/bugzilla/show_bug.cgi?id=1163 Which identifies some other issues. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34128