Q: Is this improper asm use or a bug?

Alexandre Oliva aoliva@redhat.com
Wed Jun 11 20:58:00 GMT 2003


On Jun 11, 2003, fnf@intrinsity.com (Fred Fish) wrote:

>                     : "+r" (loops)
>                     : "0" (loops));

Use either "=r" and "0", or just "+r".  Since input and output are the
same variable, I'd stick with the latter.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc mailing list