++i++ in Plain English

Peter da Silva peter at ficc.ferranti.com
Tue Apr 23 03:42:37 AEST 1991


In article <3924 at inews.intel.com> bhoughto at pima.intel.com (Blair P. Houghton) writes:
> In article <FGTAV-9 at xds13.ferranti.com> peter at ficc.ferranti.com (Peter da Silva) writes:
> >In article <3845 at inews.intel.com> bhoughto at 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 at ferranti.com
+1 713 274 5180.  'U`  "Have you hugged your wolf today?"

So you're volatile too?



More information about the Comp.std.c mailing list