This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: split_block fix
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: split_block fix
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 20 Jul 2001 18:09:17 -0700
- Cc: gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- References: <20010717171616.M2867@atrey.karlin.mff.cuni.cz>
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~