[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug tree-optimization/28544] [4.2 regression] ICE in add_virtual_operand, at tree-ssa-operands.c:1309




------- Comment #6 from pinskia at gcc dot gnu dot org  2006-07-30 14:45 -------
Even without the volatile, it ICEs:
typedef unsigned long int ulong;
typedef struct
{
  int counter;
}atomic_t;
static ulong 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));
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28544

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: