https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66326

--- Comment #1 from Eric <ejolson at unr dot edu> ---
The compilers gcc-5.1 and cilkplus-4_8-branch were bootstrapped using the
Debian 4.7.2-5 gcc compiler on Debian Wheezy.  Compiling and running the test
program yields the following output:

$ /usr/local/gcc-5.1/bin/gcc -fcilkplus -Wall \
        -mfpmath=387 fpbug.c -o fpbug-gcc510-387 -lcilkrts -lm
$ ./fpbug-gcc510-387
Floating point exception

$ /usr/local/gcc-5.1/bin/gcc -fcilkplus -Wall \
        -mfpmath=sse fpbug.c -o fpbug-gcc510-sse -lcilkrts -lm
$ ./fpbug-gcc510-sse
f(1)+g(2)=0.850648

$ /usr/local/cilk-4.8/bin/gcc -fcilkplus -Wall \
        -mfpmath=387 fpbug.c -o fpbug-cilk48-387 -lcilkrts -lm
$ ./fpbug-cilk48-387
f(1)+g(2)=0.850648

$ /usr/local/cilk-4.8/bin/gcc -fcilkplus -Wall \
        -mfpmath=sse fpbug.c -o fpbug-cilk48-sse -lcilkrts -lm
$ ./fpbug-cilk48-sse
f(1)+g(2)=0.850648

Reply via email to