This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Inline ASM bug
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: cb <cb100 at gmx dot net>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 24 Jul 2003 21:18:28 +0930
- Subject: Re: Inline ASM bug
- References: <3F1E4C3F.2050109@gmx.net>
On Wed, Jul 23, 2003 at 10:50:07AM +0200, cb wrote:
> : "=r" (array)
> : "0" (array), "r" (maximum), "c" (i)
Bug in your code. %0 is the first operand (array), %1 is the second
operand, again (array). You need to use %2 to refer to (maximum).
--
Alan Modra
IBM OzLabs - Linux Technology Centre