🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2783

Re: ++i++ in Plain English

#2783
From: Peter da Silva
Date: Mon, 22 Apr 1991 17:42
19 lines
1343 bytes
In article <3924@inews.intel.com> bhoughto@pima.intel.com (Blair P. Houghton) writes:
> In article <FGTAV-9@xds13.ferranti.com> peter@ficc.ferranti.com (Peter da Silva) writes:
> >In article <3845@inews.intel.com> bhoughto@hopi.intel.com (Blair P. Houghton) writes:
> >> Yes, you're right, most of it is moot, but remember that
> >> the entire operation is permitted to be "discarded" if

> >	... and if i isn't volatile ...

> If the compiler's smart
> enough to understand that the "side effect is not needed"
> and the value is not used, then the evaluation can be elided.

I'd hate to have to write a device driver with that compiler, mate.
A compiler that sharp can cut you.
-- 
Peter da Silva.  `-_-'  peter@ferranti.com
+1 713 274 5180.  'U`  "Have you hugged your wolf today?"

So you're volatile too?
Technical Details
Message-ID: <B_WAUIB@xds13.ferranti.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!uupsi!ficc!peter
References: <5ywa15w164w@cellar.UUCP> <3845@inews.intel.com> <FGTAV-9@xds13.ferranti.com> <3924@inews.intel.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!uupsi!ficc!peter
From: peter@ficc.ferranti.com (Peter da Silva)
Newsgroups: comp.std.c
Subject: Re: ++i++ in Plain English
Message-ID: <B_WAUIB@xds13.ferranti.com>
Date: 22 Apr 91 17:42:37 GMT
References: <5ywa15w164w@cellar.UUCP> <3845@inews.intel.com> <FGTAV-9@xds13.ferranti.com> <3924@inews.intel.com>
Reply-To: peter@ficc.ferranti.com (Peter da Silva)
Organization: Xenix Support, FICC
Lines: 19