------- Comment #5 from pinskia at gcc dot gnu dot org 2006-07-30 14:44 ------- Confirmed (reduced C and C++ testcases: typedef unsigned long int ulong; typedef struct { volatile int counter; }atomic_t; static ulong volatile Cversion = 0; void sp_cache_invalidate () { atomic_t * v1 = (atomic_t *)& Cversion; atomic_t * v = v1; __asm__ __volatile__ ("lock ; incl %0":"=m" (v->counter):"m" (v->counter)); }
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-07-30 14:44:23 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28544