Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 08 May 2012 05:37:25 -0500 Message-ID: <4FA8F767.689F@mindspring.com> Date: Tue, 08 May 2012 06:37:27 -0400 From: pete Reply-To: pfiland@mindspring.com Organization: PF X-Mailer: Mozilla 3.04Gold (WinNT; I) MIME-Version: 1.0 Newsgroups: comp.lang.c Subject: Re: List of undefined behaviour and other sneeky bugs References: <61f319f8-323e-41ec-938a-8062d532aa6a@a5g2000vbc.googlegroups.com> <4FA35A2E.6B0B@mindspring.com> <4FA896E6.B8E@mindspring.com> <4FA8F568.4D99@mindspring.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 19 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 4.156.228.178 X-Trace: sv3-KkbtVewDC8SCW3jVkYkEXiTBJ9/tz0IxBQJ/zBVXrLlHuPmK/kNfUW72J+mVlFn1VayyK5sq245R0x7!sWqVPuP7kr793QmOC1QNNTML8XzC7/k76olmKVOiGSkKVJkZ7h+YGMAy+7gpTLn03yzfVUlAjQUz!YjC6qSmSMHc= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1815 X-Received-Bytes: 1956 Xref: csiph.com comp.lang.c:20499 pete wrote: > > Tim Rentsch wrote: > > The value computations of the operands of an operator are > > sequenced before the value computation of the result of > > the operator. > > > > So the lvalue 'a[i]' must be computed before there is a value > > (produced by the intermediate '=' operator) to store into 'i'. > > I think that you may be right. > I also made an obsolete statement elsewhere in this thread > about the postfix increment operator. Actually, it was in the "pointer arithmetic question" thread. -- pete