Failure to bootstrap gcc cvs HEAD 20031025 on cygwin: gcc/unwind-dw2-fde.c:762: internal compiler error: in emit_move_insn, at expr.c:2792

Graham Stott graham.stott@btinternet.com
Sun Oct 26 06:47:00 GMT 2003


All,

I suspect that the offending changes are those in expmed.c
where the comparisons

    bitsize == GET_MODE_SIZE (...)

have been changed to

    bitsize >= GET_MODE_SIZE (...)

This looks some what suspect because it's not groking the case
where GET_MODE_SIZE returns 0 (i.e for VOIDmode and BLKMode)
so we end up tring to use emit_move_insn for a BLKmode dest which
results in the ICE.

Indeed a quick hack in my tree checking that GET_MODE_SIZE (...) != 0
before comparing against bitsize gets me past the ICE and
well into the stage2 build.

Cheers
Graham




More information about the Gcc mailing list