[Bug middle-end/91946] wrong result comparing pointer with pointer+offset with -m32
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 1 10:09:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91946
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also this was an a broken ABI mistake a long time ago. Also comparing for non
equality outside an array bounds (besides one past the end) is also undefined
behavior. Undefined behavior does NOT need to be consistent behavior even at
runtime.
More information about the Gcc-bugs
mailing list