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]
Other format: [Raw text]

Re: [v3 RFC] PATCH to memory asm ops in atomicity.h


Jason Merrill wrote:

>!                         : "=&d" (__old_val), "=&d" (__new_val), "+m" (*__mem)

I had been under the impression that "+m" is not valid, because it translates
to a matching constraint for a memory constraint.  There can be situations
where reload cannot handle this (as it assumes a matching constraint always
matches a register constraint).  Is this no longer true?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de


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