This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: fix another emit_no_conflit bug (Was: Re: RFA: fix PR 23837)
Joern RENNECKE <joern.rennecke@st.com> writes:
> Ian Lance Taylor wrote:
>
> >
> >> /* Likewise if this insn depends on a register set by a previous
> >>! insn in the list, or if it sets a result (presumably a hard
> >>! register) that is set or clobbered by a previous insn.
> >>! N.B. the modified_*_p (SET_DEST...) tests applied to a MEM
> >>! SET_DEST perform the former check on the address, and the latter
> >>! check on the MEM. */
> >>
> >
> >I don't really understand the N.B. in the comment. What do "former"
> >and "latter" refer to?
> >
> >Ian
> >
> The 'former check' checks if the insn depends on a register set by a
> previous insn in the list.
> The 'latter check' checks if the insn sets a result that is set or
> clobbered by a previous insn.
I see what you mean.
Patch is OK if it passes testing. Thanks.
Ian