[Bug middle-end/30568] -ftrapping-math should prevent folding/dead code stripping of some builtins
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jan 24 06:54:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list