From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8991 invoked by alias); 4 Aug 2010 02:38:27 -0000 Received: (qmail 8961 invoked by uid 48); 4 Aug 2010 02:38:14 -0000 Date: Wed, 04 Aug 2010 02:38:00 -0000 Message-ID: <20100804023814.8960.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/45175] In gfortran, the calculation of small differences seems to depend on optimization flags In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" 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: 2010-08/txt/msg00189.txt.bz2 ------- Comment #5 from dominiq at lps dot ens dot fr 2010-08-04 02:38 ------- You do not say on which platform you did the tests (gfortran -v). From C:\FI\Implicit4.inc I assume that you are using some *86* processor under Windows. This is not a gfortran bug, but a duplicate of an infamous pr I cannot find the number. You should try -ffloat-store or -mfpmath=sse and have a look at the gcc manual http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optimize-Options under -ffloat-store and -fexcess-precision=style. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45175