Topic: volatile access (Was: &array[-3] allowed?)
Author: Valentin Bonnard <bonnardv@pratique.fr>
Date: 1998/10/09 Raw View
markw65@my-dejanews.com wrote:
> In C the assignment has the value of the left operand after assignment, but is
> not an lvalue.
Correct
> It also has the unqualified type of the left operand. So again,
> the read can be optimized away, even when the lhs is volatile.
Could you explain your resonning ?
--
Valentin Bonnard mailto:bonnardv@pratique.fr
info about C++/a propos du C++: http://pages.pratique.fr/~bonnardv/
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]