Re:Nine ways to break your systems code using volatile
by qooiii2 on Friday October 06, 2023 @08:52AM
(#37790124)
I've been bitten by reordering. In my case, the toolchain developers implemented the reordering step in the assembler as an extra optimization step (on by default of course), so I had to disassemble the binary to even find the problem. They had redefined the assembly language semantics to require "volatile" keywords wherever you needed ordering maintained. I turned that particular optimization off.
[ Parent
| on HN ]
There are no comments on this comment yet.