Article View: comp.std.c
Article #4453Re: On sequence points and evaluation order
From: Paul Eggert
Date: Fri, 08 Dec 1995 19:48
Date: Fri, 08 Dec 1995 19:48
16 lines
1349 bytes
1349 bytes
volpe@bart.crd.ge.com (Christopher R. Volpe) writes: > What does the order of evaluation of subexpressions have to > do with statement sequencing? The two issues are closely related when the implementation must execute statements to evaluate the subexpressions. > There is definitely room for argument here. Agreed. But that's why we have standards: to settle such arguments. Unfortunately, the C Standard falls short in questions involving order of evaluation. Other language standards (e.g. Ada, Algol, Fortran, PL/I) answer these questions satisfactorily, but the C standard has a unusual method of formalizing order-of-evaluation issues, and in practice this method hasn't worked very well.
Technical Details
Message-ID:
<4aa4pt$jcl@tattoo.twinsun.com>Path:
arc1-ca.pugleaf.net!news.cs.ucla.edu!twinsun!not-for-mailReferences:
<49l428$od0@bolverk.cs.cornell.edu> <49ojjp$hsm@newshost.lanl.gov> <49qiu7$25h@natasha.rmii.com> <49v3ii$nve@rdsunx.crd.ge.com> <1995Dec6.000503.6676@sq.com> <TANMOY.95Dec5221739@qcd.lanl.gov> <4a6r9u$hq5@rdsunx.crd.ge.com> <4a73n0$jfu@newshost.lanl.gov> <4a9nn0$3hn@rdsunx.crd.ge.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.cs.ucla.edu!twinsun!not-for-mail From: eggert@twinsun.com (Paul Eggert) Newsgroups: comp.std.c Subject: Re: On sequence points and evaluation order Date: 8 Dec 1995 11:48:13 -0800 Organization: Twin Sun Inc, El Segundo, CA, USA Message-ID: <4aa4pt$jcl@tattoo.twinsun.com> References: <49l428$od0@bolverk.cs.cornell.edu> <49ojjp$hsm@newshost.lanl.gov> <49qiu7$25h@natasha.rmii.com> <49v3ii$nve@rdsunx.crd.ge.com> <1995Dec6.000503.6676@sq.com> <TANMOY.95Dec5221739@qcd.lanl.gov> <4a6r9u$hq5@rdsunx.crd.ge.com> <4a73n0$jfu@newshost.lanl.gov> <4a9nn0$3hn@rdsunx.crd.ge.com> NNTP-Posting-Host: tattoo.twinsun.com