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


On Tue, Jul 17, 2001 at 05:16:16PM +0200, Jan Hubicka wrote:
> this patch fixes split_block to work when asked to split after last insn
> in basic block. (this is used by find_sub_basic_blocks for code labels at
> the end of BB).

This makes no sense -- split_block begins with

  /* There is no point splitting the block after its end.  */
  if (bb->end == insn)
    return 0;



r~


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