Dave Korn writes: > > Why isn't the shift operation optimised away and replaced with const_int > 0? Why should it be? Okay Dave, you guessed it: go see Section 6.5.7, para. 3. :-) Andrew.