Hi, I am porting gcc to a costum target and have encounter an compiler internal error regarding this ;; _6 ={v} dd; (insn 12 11 0 (set (reg:HI 23 [ D.1350 ]) (zero_extend:HI (mem/v/c:QI (plus:HI (reg/f:HI 18 virtual-stack-vars) (const_int -7 [0xfffffff9])) [4 ddD.1336 it bail out at: internal compiler error: in gen_lowpart_general, at rtlhooks.c:51 this error is cause by function emit-rtl.c:gen_lowpart_common() returns 0 at if ((msize + (UNITS_PER_WORD - 1)) / UNITS_PER_WORD > ((xsize + (UNITS_PER_WORD - 1)) / UNITS_PER_WORD)) return 0; and the program i am compiling is: int main(void) { volatile unsigned short dd = 12; volatile unsigned long hh = 0xfffffffffffff; hh = dd; } please advice. Thanks. -- View this message in context: http://gcc.1065356.n5.nabble.com/debugging-the-cross-compiler-tp1207181.html Sent from the gcc - Help mailing list archive at Nabble.com.