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-Tag: upstream/12.2.0~73246 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99a0106fa74a2d33ebb62ee5407e154508f59d83;p=platform%2Fupstream%2Fgcc.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 b0a8354..3f5fe29 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 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)