https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88769
--- Comment #2 from Per Zetterlund <per at pz dot se> --- The POSIX standard describes domain error conditions for sin() : http://pubs.opengroup.org/onlinepubs/9699919799/functions/sin.html . I guess there is a discrepancy between the C standard and the POSIX standard in this case.