http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41742
Segher Boessenkool <segher at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-08-16 CC| |segher at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> 2012-08-16 10:39:45 UTC --- Still happens on mainline: -O2 still has the superfluous sign-extend, but now the -O1 code is perfect.