public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jie Zhang <zhangjie@magima.com.cn>
To: gcc@gcc.gnu.org
Subject: Re: An error of gcc-ss-20030303
Date: Thu, 24 Apr 2003 05:42:00 -0000	[thread overview]
Message-ID: <3EA751D8.4020906@magima.com.cn> (raw)
In-Reply-To: <20030423221850.GE24723@redhat.com>

Richard Henderson wrote:

> On Wed, Apr 23, 2003 at 03:41:45PM +0800, Jie Zhang wrote:
>  
>
>> __asm __volatile ("" : "=m" (*spinlock) : "0" (*spinlock));
>>   
>
>
> Don't use matching constraints on memories.
>  
>
The problem is solved by changing this line into

__asm __volatile ("" : "+m" (*spinlock));

I should have read the document more carefully :-P
Thanks all!

- Jie

      reply	other threads:[~2003-04-24  2:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-23 10:36 Jie Zhang
2003-04-23 22:27 ` tm_gccmail
2003-04-23 22:43 ` Richard Henderson
2003-04-24  5:42   ` Jie Zhang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EA751D8.4020906@magima.com.cn \
    --to=zhangjie@magima.com.cn \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).