I suppose that there is a bug already. http://savannah.nongnu.org/bugs/?37778. Hope it gets fixed :-)
Thanks, Soundararajan ________________________________________ From: avr-libc-dev-bounces+sounderarajan.d=atmel....@nongnu.org [avr-libc-dev-bounces+sounderarajan.d=atmel....@nongnu.org] on behalf of Martin Laabs [mailingli...@martinlaabs.de] Sent: 04 January 2014 15:48:46 To: avr-libc-dev@nongnu.org Subject: [avr-libc-dev] Bug in _MemoryBarrier() 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 _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev