------- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-01 14:14 -------
Your inline-asm is broken, you early clobber the output so you need to mark as
such like:
asm volatile("movl $1,%0 \n\t" \
"xchgl %0,%1 \n\t" \
"xorl $1,%0"
: "=&r"(lacquired)
: "m"(*l)
: "memory");
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32178