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: try_redirect_by_replacing_jump fix


> On Sat, Jul 07, 2001 at 01:34:01PM +0200, Jan Hubicka wrote:
> > +       if (basic_block_for_insn)
> > + 	set_block_for_insn (src->end, src);
> 
> gen_jump can emit more than one insn.
We do same way at other places as well.
I believe it is handled by set_block_for_insn, as it searches backwards
until it finds initialized data.

BTW I would like to add some abstractions about that, as emitting of
unconditional jump at the end of BB is tricky and done at multiple places.

Honza
> 
> Otherwise ok.
> 
> 
> r~


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