------- Comment #3 from pinskia at gcc dot gnu dot org 2007-01-24 06:54 ------- Part of the problem here is that darwin turns on no math-errno by default which turns the builtin functions into pure functions and since we don't use the result, we DCE it. pure functions are not allowed to trap IIRC the rules.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30568