https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110611
Iain Sandoe <iains at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-linux-gnu, | |x86_64-darwin, i686-darwin Keywords| |wrong-code Known to fail| |10.5.0, 14.0 --- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> --- Apple GCC-4.2.1 does zero-extend. I checked back to 5.5 on Darwin the same issue is present to at least then.