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: [patches] messing up loop notes again


> On Thu, Jul 26, 2001 at 09:28:44PM +0200, Jan Hubicka wrote:
> > +   while (GET_CODE (insn) == NOTE
> > + 	 && NOTE_LINE_NUMBER (insn) != NOTE_INSN_BASIC_BLOCK)
> > +     {
> > +       if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_LOOP_BEG)
> > + 	last = insn;
> > +       insn = NEXT_INSN (insn);
> > +     }
> 
> No check for CODE_LABEL?
It should be followed by BASIC_BLOCK note and I move last only when
I see NOTE_INSN_LOOP_BEG.

I don't think we can have BASIC_BLOCK note separated from preceeding
label by a LOOP_BEG note (or something else).

Honza
> 
> 
> r~


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