-ffast-math + Mesa

Alex Merry alexander.merry at ccc.ox.ac.uk
Thu Sep 7 15:44:37 PDT 2006

On Thu, Sep 07, 2006 at 10:33:52PM +0400, Vladimir A. Pavlov wrote:
> Everything seems ok except -fmath-errno doesn't work as expected. 
> gcc-4.1.1 was built directly from gcc.gnu.org without any patches.

What were you expecting it to do? As I understand it, -fmath-errno is
the default. -fno-math-errno should change the result of the program
without -ffast-math.

If I do "gcc -fno-math-errno -lm a.c; ./a.out", I get 0.

Alex :-)

Computer Monkey to the Pelican
www.oxrev.org.uk, www.corpusjcr.org, www.rev.org.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20060907/793749fc/attachment.sig>

More information about the hlfs-dev mailing list