Does the keyword volatile work?

Fergus Henderson fjh@cs.mu.OZ.AU
Tue May 13 18:00:00 GMT 2003


On 13-May-2003, Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:
> Fergus Henderson <fjh@cs.mu.OZ.AU> writes:
> 
> | The wording in the standard prohibits optimizing away accesses to volatile
> | *objects*, but doesn't say anything about volatile rvalues.
> 
> C has no notion of rvalue.

By "rvalue", I mean any expression which is not an lvalue.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.



More information about the Gcc mailing list