From: pfleury AT spectraweb DOT ch (Fleury Peter) Subject: Re: Maths ruined when optimizing in gcc 26 Nov 1996 14:04:35 -0800 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <1.5.4.32.19961126210611.006d99a8.cygnus.gnu-win32@pop.spectraweb.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Sender: pfleur AT pop DOT spectraweb DOT ch (Unverified) X-Mailer: Windows Eudora Light Version 1.5.4 (32) Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com Hi, Several readers on this list reported the same problem about floating point problems when compiled with optimize (-O). I analysed this problem and did the following experiment: I downloaded the GNU GNAT (GNU Ada Translater for Win95/NT, which is based on GCC and includes a minimum GCC) and extraced the module CC1.exe. Then I installed CC1.exe into the directory of Cygnus/GCC and could compile with optimize and execute all the floating point modules without problems. Regards Peter URL for GNAT for Win32: ftp://ftp.cs.yale.edu/pub/gnat/setup-gnat304a1.exe.gz (5MB) and mirrors Peter Fleury Software Engineer VMS/UNIX, Project Manager Email: pfleury AT spectraweb DOT ch Regensdorf/Zurich Switzerland - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".