diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2012-10-29 16:44:01 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2012-10-29 16:44:01 +0000 |
commit | 99a0106fa74a2d33ebb62ee5407e154508f59d83 (patch) | |
tree | 9e5af5e96872ef36cd7f7744ffdd7f39e870e693 /gcc/rtlanal.c | |
parent | e34e52073e7bd69a060412afa6d9b2e5a894b976 (diff) | |
download | gcc-99a0106fa74a2d33ebb62ee5407e154508f59d83.zip gcc-99a0106fa74a2d33ebb62ee5407e154508f59d83.tar.gz gcc-99a0106fa74a2d33ebb62ee5407e154508f59d83.tar.bz2 |
rtlanal.c (strip_address_mutation): Use SUBREG_REG instead of XEXP.
2012-10-29 Vladimir Makarov <vmakarov@redhat.com>
* rtlanal.c (strip_address_mutation): Use SUBREG_REG instead of
XEXP.
From-SVN: r192951
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index bfc58b0..43d4cb8 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -5464,7 +5464,7 @@ strip_address_mutations (rtx *loc, enum rtx_code *outer_code) && subreg_lowpart_p (*loc)) /* (subreg (operator ...) ...) inside and is used for mode conversion too. */ - loc = &XEXP (*loc, 0); + loc = &SUBREG_REG (*loc); else return loc; if (outer_code) |