This is the mail archive of the
mailing list for the GCC project.
Re: bb-reorder crashes on potential-fall-through computed jumps
On Wed, Feb 07, 2001 at 10:11:17AM -0200, Alexandre Oliva wrote:
> Indeed. The problem was that mode switching had inserted the mode_set
> insns between the computed jump and its barrier, and we went down the
> hill from there. Here's a patch. Ok to install, in case it doesn't
> introduce regressions on sh-elf?
Yep, sounds right.
> Any other machine with mode switching it would be worth testing?
SH is the only user in the sources currently.
> * lcm.c (optimize_mode_switching): Emit mode_set before the
> JUMP_INSN of an abnormal edge.