------- Comment #7 from jvdelisle at gcc dot gnu dot org 2008-03-29 04:48 ------- The disparity goes away mostly using -ffast-math
$ g77 -ffast-math demo1.f -o g771 $ time ./g771 result = -0.690680927 real 0m0.594s user 0m0.590s sys 0m0.004s $ gfc -ffast-math demo1.f -o gfc1 $ time ./gfc1 result = -0.69068092664138392 real 0m0.720s user 0m0.716s sys 0m0.003s Regardless sinf needs some work. See also glibc bug 1163: http://sources.redhat.com/bugzilla/show_bug.cgi?id=1163 Which identifies some other issues. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34128