This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]