This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/28544] [4.2 regression] ICE in add_virtual_operand, at tree-ssa-operands.c:1309
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jul 2006 14:44:24 -0000
- Subject: [Bug tree-optimization/28544] [4.2 regression] ICE in add_virtual_operand, at tree-ssa-operands.c:1309
- References: <bug-28544-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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