--- 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
Hi,
I wonder why gcc does not move the constant exp() call from the inner loop to
the outer loop. Should I use different optimization settings?
Georg
Checked with g++ -O3 -S t.cpp; emacs t.S
t.cpp:
#include
#include
int main()
{
for (int i=0; i<10;++i)
{
for (int j=0; j<2;++j)