i386.c (x86_decompose_address): Fix commit.

* config/i386/i386.c (x86_decompose_address): Fix commit.

From-SVN: r185353
This commit is contained in:
Uros Bizjak 2012-03-13 21:14:10 +01:00
parent b7613c914e
commit be23f73241

View File

@ -11436,11 +11436,11 @@ ix86_decompose_address (rtx addr, struct ix86_address *out)
addr = XEXP (addr, 0);
/* Adjust SUBREGs. */
if (GET_MODE (addr) == DImode)
addr = gen_rtx_SUBREG (SImode, addr, 0);
else if (GET_CODE (addr) == SUBREG
&& GET_MODE (SUBREG_REG (addr)) == SImode)
if (GET_CODE (addr) == SUBREG
&& GET_MODE (SUBREG_REG (addr)) == SImode)
addr = SUBREG_REG (addr);
else if (GET_MODE (addr) == DImode)
addr = gen_rtx_SUBREG (SImode, addr, 0);
else
return 0;
}