Message ID | CAFULd4bbWHs27DQM0qy1zxP7Lcq_ocb5DfwsPxQkGn91fhHPTg@mail.gmail.com |
---|---|
State | New |
Headers | show |
Index: config/i386/i386.c =================================================================== --- config/i386/i386.c (revision 176386) +++ config/i386/i386.c (working copy) @@ -11149,8 +11149,13 @@ ix86_decompose_address (rtx addr, struct return 0; break; - case REG: case SUBREG: + /* Allow only subregs of DImode hard regs in PLUS chains. */ + if (!register_no_elim_operand (SUBREG_REG (op), DImode)) + return 0; + /* FALLTHRU */ + + case REG: if (!base) base = op; else if (!index)