diff options
author | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-29 16:44:01 +0000 |
---|---|---|
committer | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-29 16:44:01 +0000 |
commit | 3190d74b90c0afec47b26cc43afe04126ee0fd84 (patch) | |
tree | 9e5af5e96872ef36cd7f7744ffdd7f39e870e693 | |
parent | e3a04215ff97263194caecf6a97c04bf16305fb9 (diff) | |
download | linaro-gcc-3190d74b90c0afec47b26cc43afe04126ee0fd84.tar.gz linaro-gcc-3190d74b90c0afec47b26cc43afe04126ee0fd84.tar.bz2 linaro-gcc-3190d74b90c0afec47b26cc43afe04126ee0fd84.zip |
2012-10-29 Vladimir Makarov <vmakarov@redhat.com>
* rtlanal.c (strip_address_mutation): Use SUBREG_REG instead of
XEXP.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192951 138bc75d-0d04-0410-961f-82ee72b054a4
-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) |