[Bug tree-optimization/27725] error in loop invariant motion tranformation
alessandro dot lonardo at roma1 dot infn dot it
gcc-bugzilla@gcc.gnu.org
Tue May 23 09:22:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list