------- Comment #3 from alessandro dot lonardo at roma1 dot infn dot it  
2006-05-23 09:22 -------
(In reply to comment #2)
> Use:
>   asm volatile("\tmovl (%1), %0\n"
>                "\tincl %0\n"
>                :"=r" (res)  : "r" (pi): "memory");
> 
> or
>   asm volatile("\tmovl (%2), %0\n"
>                "\tincl %0\n"
>                :"=r" (res), "m"(*pi)"  : "r" (pi));
> 

Yes, I had tried the first, but is the asm really clobbering memory?


-- 

alessandro dot lonardo at roma1 dot infn dot it changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alessandro dot lonardo at
                   |                            |roma1 dot infn dot it


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27725

  • [Bug tree-optimization/277... alessandro dot lonardo at roma1 dot infn dot it

Reply via email to