http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46942
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2010.12.16 15:12:22 Ever Confirmed|0 |1 --- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-16 15:12:22 UTC --- I think the ABI guarantees that the caller did the sign/zero extension, so we don't have to repeat it in the callee. Of course we don't model this at the tree level, so probably RTL has to figure this out and optimize. (Yeah, that's one of the areas where lowering call ABI related promitions earlier would be nice).