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
This commit is contained in:
Vladimir Makarov 2012-10-29 16:44:01 +00:00 committed by Vladimir Makarov
parent e34e52073e
commit 99a0106fa7
2 changed files with 6 additions and 1 deletions

View 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

View 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)