volatile (was Re: ++i++ in Plain English)

Norman Diamond diamond at jit533.swstokyo.dec.com
Fri Apr 26 11:01:52 AEST 1991


In article <1991Apr25.190127.8178 at cs.ucla.edu> jon at maui.cs.ucla.edu (Jonathan Gingerich) writes:

>May accessing a volatile cause external (to the program) changes?

Of course; that is the purpose of "volatile."  (Well, half of its purpse :-)

>If so, then it could never be optimized out.

True.
--
Norman Diamond       diamond at tkov50.enet.dec.com
If this were the company's opinion, I wouldn't be allowed to post it.



More information about the Comp.std.c mailing list