> We are working on an optimization for eliminating redundant sign extension > instructions by making use of this duality. Currently this is done only in > very > simple cases. I have already submitted a patch for this: http://gcc.gnu.org/ml/gcc-patches/2004-01/msg03259.html It is still waiting for review.