------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-20 19:29 ------- And the reason why we don't shoten back to signed char % signed char:
/* Although it would be tempting to shorten always here, that loses on some targets, since the modulo instruction is undefined if the quotient can't be represented in the computation mode. We shorten only if unsigned or if dividing by something we know != -1. */ So maybe this is correct. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18065