comp.lang.ada
 help / color / mirror / Atom feed
From: "nicolas" <n.brunot@cadwin.com>
Subject: Re: Floating-point problems with gcc 3.2
Date: Thu, 12 Dec 2002 09:50:35 +0100
Date: 2002-12-12T09:50:19+01:00	[thread overview]
Message-ID: <3df84dcb$0$18245$626a54ce@news.free.fr> (raw)
In-Reply-To: 3df73bcc.15483884@news.essex.ac.uk

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1418 bytes --]

Gnat in gcc 3.1 and 3.2 is known to be very unstable.
Its main purpose seems to be good enough to be able to build higher versions
of Gnat

the situation is much better in 3.3 (but still expect more bugs than in Gnat
3.15p)
I would forget to use 3.1 or 3.2 for other purpose than building 3.3

You can wait for 3.3 version or try the experimental Gnat 3.3
http://prdownloads.sf.net/mingw/gnatgcc-3.3-exp-20021006.tar.gz
http://prdownloads.sf.net/mingw/gnatgcc-3.3-exp-20021006-notes.txt.gz

You can also try to build 3.3 yourself, but it is not so easy, especially
because mingw32 support is poor in the official FSF tree, and source files
have to be patched for this platform


"Dr Steve Sangwine" <sjs@essex.ac.uk> a �crit dans le message de news:
3df73bcc.15483884@news.essex.ac.uk...
> I have been trying out gcc 3.2 in order to link Fortran code with Ada
> and I have encountered problems with floating point. Ada code that
> works correctly with gnat 3.14p and 3.15p gives incorrect numeric
> values when compiled with gcc 3.2. I'm using the mingw binaries of gcc
> 3.2 running on Windows 2000.
>
> I have also seen problems with Fortran code giving incorrect
> floating-point results. I seem to recall seeing somewhere something
> about a known problem with the floating-point unit not being properly
> initialised or reloaded on a context switch. Has anyone else hit this
> problem?
>
> Steve Sangwine
>





      parent reply	other threads:[~2002-12-12  8:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-11 13:26 Floating-point problems with gcc 3.2 Dr Steve Sangwine
2002-12-11 18:15 ` Stephen Leake
2002-12-11 18:19 ` Jerry van Dijk
2002-12-11 18:54 ` Ted Dennison
2002-12-12  8:50 ` nicolas [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox