https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64015
--- Comment #5 from Zhenqiang Chen <zhenqiang.chen at arm dot com> --- It seams you always win with ccmp. Please go ahead for your patch and make sure the following case work. int test (unsigned short a, unsigned char b) { return a > 0xfff2 && b > 252; } Thanks! -Zhenqiang