--- gcc-3.2.3/gcc/config/msp430/msp430.c.orig 2007-09-19 10:46:10.000000000 +0200 +++ gcc-3.2.3/gcc/config/msp430/msp430.c 2007-09-19 10:46:30.000000000 +0200 @@ -5458,7 +5458,7 @@ OUT_INSN (len, "clr\t%C0", operands); OUT_INSN (len, "clr\t%D0", operands); - if (GET_CODE (operands[0]) == REG) + if ((GET_CODE (operands[0]) == REG) && len) *len -= 3; if (len)