[Bug target/37390] wrong-code on i486-linux-gnu with -O[12], -O0 works

2008-09-06 Thread niklaus at gmail dot com
--- Comment #4 from niklaus at gmail dot com 2008-09-06 17:42 --- On the below version of gcc on cygwin (winXP SP3) i don't have any problems with optimization on or off. They produce consistent correct result. Why is it a problem with linux ? or am i doing something wrong. I tried

[Bug target/37390] wrong-code on i486-linux-gnu with -O[12], -O0 works

2008-09-06 Thread niklaus at gmail dot com
--- Comment #7 from niklaus at gmail dot com 2008-09-06 18:28 --- (In reply to comment #5) Subject: Re: wrong-code on i486-linux-gnu with -O[12], -O0 works Because on x86 gnu/Linux, the precision is set to 80bits rather than 64bit like it is on windows. Does increasing bits

[Bug target/37390] wrong-code on i486-linux-gnu with -O[12], -O0 works

2008-09-06 Thread niklaus at gmail dot com
--- Comment #10 from niklaus at gmail dot com 2008-09-06 21:23 --- (In reply to comment #8) (In reply to comment #7) Does increasing bits cause floating point errors. How could 64 bit precison give correct result where as 80 bit give incorrect one. You can have rounding errors