This is the mail archive of the gcc-patches@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]

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.

Ok.


r~

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