
6 Mar
2018
6 Mar
'18
2:11 p.m.
On Tue, Mar 6, 2018 at 9:31 AM, Lothar Waßmann LW@karo-electronics.de wrote:
Without the 'volatile' attribute the compiler is entitled to move the asm code around or optimize it out. So, your patch is the correct fix independent from the gcc version used.
Yes, but then it would be better to fix all the places where asm is used without volatile.