[OT] Re: C expressions

Cameron Simpson (cs@zip.com.au)
Mon, 17 May 1999 03:03:35 +0000


On 7 May 1999, in message <Pine.SOL.3.93.990506213125.29813B-100000@Bhaskara>
Siddharth Srivastava <siddy@Bhaskara.ee.iisc.ernet.in> wrote:
| BTW, what is a sequence point....

This should really be in some other list..

A sequence point is a term from the C89 standard used to formalise what
things may be reordered by the compiler. If A is a piece of code, B is
a sequence point and C is a second piece of code, and B lies between A
and C, then the compiler may not generate an executable which permits
effects of C to be apparent before effects of A.

By example, the above contraint means that if C uses some value affected by A,
then the value used in C must be that as it would be at the completion of A.

Cheers,

--
Cameron Simpson, DoD#743        cs@zip.com.au    http://www.zip.com.au/~cs/

Many, many Christians claim a personal relationship with Jesus. I do not know whether this helps their bowling scores. - turpin@cs.utexas.edu (Russell Turpin)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/