From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16650 invoked by alias); 27 Dec 2009 00:28:38 -0000 Received: (qmail 16637 invoked by uid 22791); 27 Dec 2009 00:28:37 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 27 Dec 2009 00:28:33 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nBR0SVJM024841 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 26 Dec 2009 19:28:32 -0500 Received: from zebedee.pink (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nBR0STjU023801; Sat, 26 Dec 2009 19:28:30 -0500 Message-ID: <4B36AA2D.7040602@redhat.com> Date: Sun, 27 Dec 2009 00:32:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0 MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Re: [BUG?] GCC inline assembler optimization issue References: <20091227021127.01ee24b5@godel> In-Reply-To: <20091227021127.01ee24b5@godel> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg00348.txt.bz2 On 12/26/2009 11:11 PM, Dan Kruchinin wrote: >> You need a memory clobber here. >> You need to add a clobber to Operand 1. > > I added "memory" to the clobber list of spin_unlock, but it doesn't help. > I still have the same problem. You need to add a clobber to Operand 1 too. Andrew.