From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8360 invoked by alias); 26 Dec 2009 23:43:34 -0000 Received: (qmail 8352 invoked by uid 22791); 26 Dec 2009 23:43:33 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-fx0-f161.google.com (HELO mail-fx0-f161.google.com) (209.85.220.161) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 26 Dec 2009 23:43:29 +0000 Received: by fxm1 with SMTP id 1so3750926fxm.16 for ; Sat, 26 Dec 2009 15:43:27 -0800 (PST) Received: by 10.223.15.148 with SMTP id k20mr17779120faa.6.1261871007359; Sat, 26 Dec 2009 15:43:27 -0800 (PST) Received: from godel (m83-188-0-173.cust.tele2.ru [83.188.0.173]) by mx.google.com with ESMTPS id 16sm3560156fxm.0.2009.12.26.15.43.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 26 Dec 2009 15:43:27 -0800 (PST) Date: Sun, 27 Dec 2009 00:28:00 -0000 From: Dan Kruchinin To: gcc-help@gcc.gnu.org Subject: Re: [BUG?] GCC inline assembler optimization issue Message-ID: <20091227021127.01ee24b5@godel> Reply-To: 4B3696EC.5030301@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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/msg00346.txt.bz2 > 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.