https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66773
--- Comment #21 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Daniel Marjamäki from comment #20) > Ping. Your "much better" code does not work. I said that this is much better than an explicit cast. It is. And it behaves identically. If the user expects C to provide tests for "mathematically different", the user has some learning to do. If, as I said, the user uses explicit casts, that's not good. Much better already is to use implicit casts, as I said; and much better than that is to fix the problems at the root (use proper types everywhere), as I said. There is no simple fix, so GCC cannot give good guidance. Oh, and don't try to insult me please, I'm much too dumb for that.