simplify_relational_operation and unsigned char

Richard Henderson rth@redhat.com
Thu Oct 29 17:19:00 GMT 2009


On 10/29/2009 03:35 AM, Amir Gonnen wrote:
> rtx test = simplify_relational_operation(EQ, VOIDmode, QImode, reg,
> GEN_INT(129));

CONST_INT is always signed.

If you really wrote this as you quote here, that would be the breakage. 
  Try gen_int_mode (129, QImode) instead.



r~



More information about the Gcc mailing list