------- Comment #1 from kurt at roeckx dot be  2009-03-19 18:17 -------
Created an attachment (id=17500)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17500&action=view)
testcase showing the problem

/*
**      This file is in the Public Domain.
**
**      This program demonstrates a bug in the -ffast-math option of the gcc
**      armel compiler : gcc version 4.3.2 (Debian 4.3.2-1.1) 
**
**      This works as expected:
**
**      > gcc -Wall -O3 gcc-test.c -o gcc-test && ./gcc-test 
**      min :       0.0000    max :       0.0000
**
**      Compile with -ffast-math and things goes screwy.
**
**      > gcc -Wall -O3 -ffast-math gcc-test.c -o gcc-test && ./gcc-test 
**      min :   99999.0000    max :       0.0000
*/


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39507

Reply via email to