------- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-22 17:35 ------- 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)); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27725