This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: clobbering input args in inline asm
- From: Stas Sergeev <stsp at aknet dot ru>
- To: Andrew Haley <aph at redhat dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 02 May 2006 23:22:05 +0400
- Subject: Re: clobbering input args in inline asm
- References: <445298BE.8000800@aknet.ru> <17491.10538.514085.559389@zapata.pink> <4453358D.8060600@aknet.ru> <17495.14336.508165.471838@zapata.pink>
Hi.
Andrew Haley wrote:
doesn't work", but rather "what does the "0" mean, when
put in the clobber list?"
It means nothing.
Well, the real reason why I wrote the message, was
that I suspected the bug. When I put "0" in clobber, gcc
eats it *unless* I have "a" in input list - then it complains.
Any other register class in input with "0" in clobber seem to
be accepted without a complain.
That looked very suspicious, but of course I couldn't fill up
the bug entry without knowing what exactly "0" means in the
clobber list. Now if it means *nothing*, then the bug is definitely
not there. I just wanted to be sure. :)
So, you already know this, but you want to know why.
Exactly, coupled with the fact that this thread:
http://lkml.org/lkml/1998/4/10/16
suggests that the better syntax was simply not found, which
itself looks very strange.
I suspect the simplest answer you're likely to get
If at all. ;) Thanks for your answers.