https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47379
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.org --- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to H.J. Lu from comment #5) > (In reply to comment #4) > > Can you try after: > > 2011-12-19 Richard Sandiford <rdsandif...@googlemail.com> > > > > PR rtl-optimization/42839 > > * fwprop.c (forward_propagate_subreg): Skip the SIGN/ZERO_EXTEND > > optimization if the source register is already extended. > > GCC 4.7.0 20120131 still does it. 4.7.0 branch is closed now, could you try a branch that's still open now?