Hi,

in my avr-libc there is a bug in avr/cpufunc.h in the memory barrier macro.
It is defined as

#define _MemoryBarrier() __asm__ __volatile__(:::"memory")

but should be:

#define _MemoryBarrier() __asm__ __volatile__("" :::"memory")

Best regards,
 Martin Laabs


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to