Sometimes constants could be replaced by smaller, cheaper constants by making use of scaled indices.
-- Summary: Could use indexed addressing to reduce const costs Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: amylaar at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30065