[Bug c/85957] i686: Integers appear to be different, but compare as equal
vincent-gcc at vinc17 dot net
gcc-bugzilla@gcc.gnu.org
Wed Feb 12 18:07:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85957
--- Comment #27 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
(In reply to Rich Felker from comment #25)
> I think standards-conforming excess precision should be forced on, and added
> to C++; there are just too many dangerous ways things can break as it is
> now.
+1
People who currently build x87 software could choose between different
solutions, such as switching to SSE if possible, switching back to "fast"
excess precision if speed is really important and they know that it will work
(this requires testing). They could even try -ffast-math (some of its
optimizations are actually less dangerous than "fast" excess precision)...
More information about the Gcc-bugs
mailing list