>|>[Optimizing compilers won't do as much on well-written code because>|> of e.g., common subexpression elimination in the source.]

roger@gimli.inmos.co.uk (Roger Shepherd) writes:>Well, it depends on what you mean by ``well written code''.

Ah, yes, that reminds me of a code fragment that multiplies every
element of an array by either zero or one, then performs the desired
computation on the array. Result values that are zero are discarded
implicitly because sum+0==sum.