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: [patch] flow.c: Don't call sets_cc0_p if insn is NULL_RTX.


On Wed, Jul 25, 2001 at 11:57:18AM -0400, Hans-Peter Nilsson wrote:
> > + #ifdef HAVE_cc0
> > +   if (reg_mentioned_p (cc0_rtx, PATTERN (insn)))
> > +     kill_from = PREV_INSN (insn);
> 
> I believe that PREV_INSN should be prev_nonnote_insn as in the
> code you deleted below.  The notes can get there from inlining.

No, there should never ever be *anything* between cc0 settter and user.


r~


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