This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/30568] -ftrapping-math should prevent folding/dead code stripping of some builtins



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]