Thanks David.
I was about to write a patch, when I found out that this issue is
already fixed on mainline [1], since 2013(!). I'll have to contact
package maintainers of my OS, to mark a more recent version as stable...
Cheers
Ralf
[1]
https://github.com/vancegroup-mirrors/avr-libc/commit/632
As Ralf Ramsauer wrote:
> If someone could confirm this I'll send a short patch.
https://savannah.nongnu.org/bugs/index.php?37778
Already fixed in the SVN tree.
--
cheers, Joerg .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/
Never trust an operating system you don'
Hi,
I am not involved in avr-libc development at all, but I've done my bit
of gcc inline assembly. And you are correct - you need the empty string
for the memory barrier.
mvh.,
David
On 21/01/17 17:54, Ralf Ramsauer wrote:
Hi,
you define _MemoryBarrier() inside avr/cpufunc.h as follows: