This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3 RFC] PATCH to memory asm ops in atomicity.h
- From: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>
- To: jason at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 17 Dec 2003 01:01:39 +0100 (CET)
- Subject: 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