From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,3c92c6036be004b5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-12 00:50:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!proxad.net!feeder2-1.proxad.net!news1-1.free.fr!not-for-mail From: "nicolas" Newsgroups: comp.lang.ada References: <3df73bcc.15483884@news.essex.ac.uk> Subject: Re: Floating-point problems with gcc 3.2 Date: Thu, 12 Dec 2002 09:50:35 +0100 X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <3df84dcb$0$18245$626a54ce@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 12 Dec 2002 09:50:19 MET NNTP-Posting-Host: 217.167.42.235 X-Trace: 1039683019 news1-1.free.fr 18245 217.167.42.235 X-Complaints-To: abuse@proxad.net Xref: archiver1.google.com comp.lang.ada:31725 Date: 2002-12-12T09:50:19+01:00 List-Id: 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" 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 >