I was trying to compile msp430-libc with msp430-binutils-2.11 and msp430-gcc-3.1, when it made the following error, after a lot of compilation:
msp430-gcc -c -I./../include -I. -Wall -O2 -g -mmcu=msp1 -c libm/floatdisf.c -o msp1/floatdisf.o libm/floatdisf.c: In function `floatdisf': libm/floatdisf.c:87: unrecognizable insn: (insn 313 132 134 (set (cc0) (compare:HI (reg:HI 10 r10) (const_int 32768 [0x8000]))) -1 (nil) (nil)) libm/floatdisf.c:87: Internal compiler error in insn_default_length, at insn-attrtab.c:616 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. make: ** [msp1/floatdisf.o] Erro 1