Re: -ffast-math in Ports and wrong generated code

2012-04-05 Thread Andrey Simonenko
On Wed, Apr 04, 2012 at 09:45:25AM -0500, Pedro Giffuni wrote: On 04/04/12 04:29, Andrey Simonenko wrote: On Tue, Apr 03, 2012 at 06:43:00AM -0700, Steve Kargl wrote: On Tue, Apr 03, 2012 at 02:21:11PM +0300, Andrey Simonenko wrote: I use one port from the Ports Collection, that works with

Re: -ffast-math in Ports and wrong generated code

2012-04-05 Thread Pedro Giffuni
On 04/05/12 01:46, Andrey Simonenko wrote: On Wed, Apr 04, 2012 at 09:45:25AM -0500, Pedro Giffuni wrote: On 04/04/12 04:29, Andrey Simonenko wrote: On Tue, Apr 03, 2012 at 06:43:00AM -0700, Steve Kargl wrote: The SVN commit http://svnweb.freebsd.org/base?view=revisionrevision=228756 will

Re: -ffast-math in Ports and wrong generated code

2012-04-04 Thread Andrey Simonenko
On Tue, Apr 03, 2012 at 06:43:00AM -0700, Steve Kargl wrote: On Tue, Apr 03, 2012 at 02:21:11PM +0300, Andrey Simonenko wrote: I use one port from the Ports Collection, that works with FP. Having reinstalled it (its version was not changed) I noticed that it started to work incorrectly.

Re: -ffast-math in Ports and wrong generated code

2012-04-04 Thread Pedro Giffuni
On 04/04/12 04:29, Andrey Simonenko wrote: On Tue, Apr 03, 2012 at 06:43:00AM -0700, Steve Kargl wrote: On Tue, Apr 03, 2012 at 02:21:11PM +0300, Andrey Simonenko wrote: I use one port from the Ports Collection, that works with FP. Having reinstalled it (its version was not changed) I noticed

-ffast-math in Ports and wrong generated code

2012-04-03 Thread Andrey Simonenko
Hello, I use one port from the Ports Collection, that works with FP. Having reinstalled it (its version was not changed) I noticed that it started to work incorrectly. After debugging and disassembling its code I found out that the -ffast-math option used for building was the result of wrongly

Re: -ffast-math in Ports and wrong generated code

2012-04-03 Thread Steve Kargl
On Tue, Apr 03, 2012 at 02:21:11PM +0300, Andrey Simonenko wrote: I use one port from the Ports Collection, that works with FP. Having reinstalled it (its version was not changed) I noticed that it started to work incorrectly. After debugging and disassembling its code I found out that the

Re: -ffast-math in Ports and wrong generated code

2012-04-03 Thread Thomas Mueller
On Tue, 3 Apr 2012 14:21:11 +0300, Andrey Simonenko wrote: At least finite() function call was eliminated from the result Assembler code when -ffast-math option is used, tested on 9.0-STABLE and 10.0-CURRENT. The documentation for -ffast-math once (GCC 3.x?) contained -ffast-math Might

Re: -ffast-math in Ports and wrong generated code

2012-04-03 Thread Matthias Andree
Am 03.04.2012 13:21, schrieb Andrey Simonenko: Hello, I use one port from the Ports Collection, that works with FP. Having reinstalled it (its version was not changed) I noticed that it started to work incorrectly. After debugging and disassembling its code I found out that the