]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2012-10-29 Vladimir Makarov <vmakarov@redhat.com>
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Oct 2012 16:44:01 +0000 (16:44 +0000)
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Oct 2012 16:44:01 +0000 (16:44 +0000)
* 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

gcc/ChangeLog
gcc/rtlanal.c

index b0a83542c71c5da80234703643beac1c81f1b7e1..3f5fe290b1f2346178d101ddf15053dd4f54bd21 100644 (file)
@@ -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
index bfc58b0e4079874e9dffaf10863e89a52b681604..43d4cb829bd835c57a7f0d824d504ddd02827b20 100644 (file)
@@ -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)