[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] Bug in _MemoryBarrier()
From: |
Martin Laabs |
Subject: |
[avr-libc-dev] Bug in _MemoryBarrier() |
Date: |
Sat, 04 Jan 2014 11:18:46 +0100 |
User-agent: |
Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 |
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] Bug in _MemoryBarrier(),
Martin Laabs <=