------- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-04-16 03:51 ------- The tree dump for the kind=8 and kind=10 are exactly identical except for the call to __builtin_fmodl for kind=10 and __builtin_fmod for kind=8.
It looks like fmodl is broken. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35944