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 | |
parent | e34e52073e7bd69a060412afa6d9b2e5a894b976 (diff) | |
download | gcc-99a0106fa74a2d33ebb62ee5407e154508f59d83.tar.gz |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/rtlanal.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b0a83542c71..3f5fe290b1f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-10-29 Vladimir Makarov <vmakarov@redhat.com> + + * rtlanal.c (strip_address_mutation): Use SUBREG_REG instead of + XEXP. + 2012-10-29 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.c (ix86_decompose_address): Use simplify_gen_subreg diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index bfc58b0e407..43d4cb829bd 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) |