From: Vladimir Makarov Date: Mon, 29 Oct 2012 16:44:01 +0000 (+0000) Subject: rtlanal.c (strip_address_mutation): Use SUBREG_REG instead of XEXP. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99a0106fa74a2d33ebb62ee5407e154508f59d83;p=gcc.git rtlanal.c (strip_address_mutation): Use SUBREG_REG instead of XEXP. 2012-10-29 Vladimir Makarov * rtlanal.c (strip_address_mutation): Use SUBREG_REG instead of XEXP. From-SVN: r192951 --- 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 + + * rtlanal.c (strip_address_mutation): Use SUBREG_REG instead of + XEXP. + 2012-10-29 Uros Bizjak * 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)