mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-12 12:50:39 +08:00
i386.c (x86_decompose_address): Fix commit.
* config/i386/i386.c (x86_decompose_address): Fix commit. From-SVN: r185353
This commit is contained in:
parent
b7613c914e
commit
be23f73241
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user