--- Comment #1 from pinskia at gcc dot gnu dot org 2007-01-22 17:24 ---
exp can set errno as defined by the C/C++ standard so it cannot be pulled out
of the loop.
you can work around this by using -fmath-errno which says the math builtins
don't set errno.
--
pinskia at gcc dot gnu do
--- Comment #2 from georg dot viehoever at web dot de 2007-01-23 08:30
---
Wow, that was fast.
You probably mean -fno-math-errno, or -ffast-math, which implies this. I have
verified the effect, and it works.
Thanks,
Georg
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30545