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]
Other format: [Raw text]

Re: cfg merge part 13 - random fixes


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~


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