statement expression and sequence point
Gabriel Dos Reis
gdr@integrable-solutions.net
Sun Jul 20 22:34:00 GMT 2003
"Joseph S. Myers" <jsm@polyomino.org.uk> writes:
| On Sun, 20 Jul 2003, Gabriel Dos Reis wrote:
|
| > statement-expressions are sort of inline functions, and the semantics
| > there just parallel that of ordinary functions. In fact, there is no
|
| It might even be convenient to define that they follow the sequence point
| rules of functions (i.e., the execution of two statement expressions do
| not overlap, though the order they are evaluated in may be unspecified).
| At present the sequence point rules for statement expressions aren't
| documented, but as they are used internally to expand inline functions
| they'd better follow the same rules.
That makes sense to me. If we all agree on that, I can provide a
documentation patch.
-- Gaby
More information about the Gcc
mailing list