In gcc/config/i386.c, there is a typo in the function ix86_rtx_costs. Code snippet:
/* Compute costs correctly for widening multiplication. */ if ((GET_CODE (op0) == SIGN_EXTEND || GET_CODE (op1) == ZERO_EXTEND) It should use op0 for both these tests. -- Summary: Typo in gcc/config/i386.c (ix86_rtx_costs) Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tege-gcc at swox dot com GCC target triplet: i386-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34451