avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] [bug #37778] _MemoryBarrier() in cpufunc.h error on compi


From: Georg-Johann Lay
Subject: [avr-libc-dev] [bug #37778] _MemoryBarrier() in cpufunc.h error on compile
Date: Mon, 19 Nov 2012 22:59:22 +0000
User-agent: Opera/9.80 (Windows NT 5.0; U; de) Presto/2.6.30 Version/10.63

Follow-up Comment #1, bug #37778 (project avr-libc):

...and while your are fixing avr/cpufunc.h, don't forget to fix _NOP which
reads:

#define _NOP() __asm__ __volatile__("nop")

but should get a memory barrier:

#define _NOP() __asm__ __volatile__("nop" ::: memory)


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?37778>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]