unsigned x = 0xff; int main(void) { return __builtin_bswap16(x) & 0xff; }