This is the mail archive of the gcc@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: 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.


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