Betrayed by a bitfield
Betrayed by a bitfield
Posted Feb 7, 2012 23:32 UTC (Tue) by daglwn (guest, #65432)In reply to: Betrayed by a bitfield by chrisV
Parent article: Betrayed by a bitfield
> where the struct is marked volatile, there is a compiler bug.
No, there isn't.
There isn't. Really.
Volatile does not mean what you think it means.
It's a bit like sequential consistency. Just when you think you understand it, something unexpected happens that is both non-intuitive and perfectly legal.
Posted Feb 8, 2012 15:24 UTC (Wed)
by daglwn (guest, #65432)
[Link]
Betrayed by a bitfield
