https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111617
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-linux-gnu Keywords| |ABI Component|c |target --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There is a disagreement on the ABI between GCC and clang and even what the ABI says. GCC assumes the upper bits are not zero/sign extended while clang thinks they are.