In reference to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27469#c3
This bug to track the regression since 4.2, not the enhancement in the original PR. -- Summary: [4.4/4.5 Regression] Extra sign extension instructions generated Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rth at gcc dot gnu dot org GCC target triplet: alphaev68-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42269