This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cfg merge part 13 - random fixes
- From: Richard Henderson <rth at redhat dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 6 May 2002 13:54:08 -0700
- Subject: Re: cfg merge part 13 - random fixes
- References: <20020505215556.GE7966@atrey.karlin.mff.cuni.cz>
On Sun, May 05, 2002 at 11:55:56PM +0200, Jan Hubicka wrote:
> ! insn = NEXT_INSN (insn);
> ! while (insn
> ! && GET_CODE (insn) == NOTE
> ! && NOTE_LINE_NUMBER (insn) != NOTE_INSN_BASIC_BLOCK)
> ! insn = NEXT_INSN (insn);
I think I'd prefer we tested vs
if (i + 1 == n_basic_blocks)
next_head = NULL;
else
next_head = BLOCK_HEAD (i + 1);
instead of NOTE_INSN_BASIC_BLOCK.
r~