This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.4.0 20040121 / ia32 / read-write constraint does not allow a register
Joern Rennecke writes:
> > It's complaining about the in-out memory constraint. Use this
> > instead:
> >
> > : "+S" (src), "+D" (dst), "+c" (size), "=m" (*memory)
> > : "m" (*memory)
> > : "cc"
>
> That's not the same, it doesn't guarantee that the input is the same
> as the output.
Given that the memory operand is not used, I find it very hard to
understand how this can matter.
Andrew.