------- Comment #3 from codemasterhs at yahoo dot de  2009-11-20 22:50 -------
(In reply to comment #2)
> Neither freeList nor serviceMsg are volatile.  Thus freeList can never change
> and serviceMsg = msg is a dead assignment.
> 

But they are, or is my syntax wrong?

static volatile struct smpMsg_t *serviceMsg;
static volatile struct smpMsg_t *freeList;


-- 

codemasterhs at yahoo dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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

Reply via email to