[Bug middle-end/34992] compiler produces wrong code when optimizing

2008-01-27 Thread roebel at ircam dot fr
--- Comment #6 from roebel at ircam dot fr 2008-01-28 00:14 --- Andrew, while -ffloat-store fixes the problem, this solution is obviously not acceptable. Moreover, here the problem is not that I compare floats using <= the problem is that std::set::insert(double) compares set eleme

[Bug middle-end/34992] compiler produces wrong code when optimizing

2008-01-28 Thread roebel at ircam dot fr
--- Comment #8 from roebel at ircam dot fr 2008-01-28 10:00 --- For completeness : I now use this function that was proposed in PR 323. It seems to solve my issue. Thanks for the pointer! inline void set_math_double_precision() { fpu_control_t fpu_control ; _FPU_GETCW