https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117547
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- Since const_0_to_255_operand returns false on (const_int -1 [0xffffffffffffffff]), we need to get (const_int 255 [0xff]) from <integer_cst 0x7fffe9824018 type <integer_type 0x7fffe9822348 unsigned char > co nstant 255>