[Bug tree-optimization/27725] error in loop invariant motion tranformation

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon May 22 17:35:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list