anyone know offhand whether C99 or C11 explicitly justifies LLVM's optimization?
There may be an argument that using an invalid pointer as an operand to == invokes UB, but ops on uintptr_t are all 100% well-defined.
-
-
-
In that case they're probably both doing LOTS of wrong optimizations of stuff involving uintptr_t...
-
yes we have test cases that both GCC and LLVM break
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.