
7 Dec
2006
7 Dec
'06
5:29 p.m.
On 07 Δεκ 2006, at 11:21 ΠΜ, Matthias Fuchs wrote:
Hi,
[snip]
Declare your struct variable pointer as volatile.
The compiler optimizes all your accesses away.
Even volatile is considered bad form nowadays, the proper one is using accessors which do the _right_ thing for your specific hardware.
Regards
Pantelis