https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65135
Bug ID: 65135 Summary: Performance regression in pic mode after r220674. Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ysrumyan at gmail dot com We noticed 10% regression on one important benchmark using for testing x86 32-bit platforms. This regression can be reproduced on attached test-case: one more fill is present in innermost loop after r220674. One possible decision is spillong live phisical registers not referenced in (innermost) loops (GOT-register in out test-case) in loop preheader with subsequent restore it in loop post header. Note that regression can be seen only in pic mode for 32-bit x86 platform.