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 c++/40186] floating point comparison is wrong ( !(a < b) && (b > a) is true )



------- Comment #4 from ich at az2000 dot de  2009-05-18 13:38 -------
Created an attachment (id=17888)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17888&action=view)
simpler test case (now for wrong ordering case 1)

I was able to reproduce the first case now ("wrong ordering 1"). I also removed
some parts from the test case, it's much shorter now.

This occurs only with -Os now, in all other cases, I don't hit the problem.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40186


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