From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3596 invoked by alias); 6 May 2010 13:09:42 -0000 Received: (qmail 31339 invoked by uid 48); 6 May 2010 13:09:24 -0000 Date: Thu, 06 May 2010 13:09:00 -0000 Message-ID: <20100506130924.31337.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug inline-asm/43998] inline assembler: can't set clobbering for input register In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-05/txt/msg00570.txt.bz2 ------- Comment #6 from hjl dot tools at gmail dot com 2010-05-06 13:09 ------- (In reply to comment #5) > Well, how to say that to compiler: > > This instruction receives input in register eax, but after executing it, eax > value will be corrupted. I don't need this new value, but compiler should not > think that eax is preserved. > Just make eax both input and output. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43998