Commit 99a0106f by Vladimir Makarov Committed by Vladimir Makarov

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
parent e34e5207
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> 2012-10-29 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ix86_decompose_address): Use simplify_gen_subreg * config/i386/i386.c (ix86_decompose_address): Use simplify_gen_subreg
...@@ -5464,7 +5464,7 @@ strip_address_mutations (rtx *loc, enum rtx_code *outer_code) ...@@ -5464,7 +5464,7 @@ strip_address_mutations (rtx *loc, enum rtx_code *outer_code)
&& subreg_lowpart_p (*loc)) && subreg_lowpart_p (*loc))
/* (subreg (operator ...) ...) inside and is used for mode /* (subreg (operator ...) ...) inside and is used for mode
conversion too. */ conversion too. */
loc = &XEXP (*loc, 0); loc = &SUBREG_REG (*loc);
else else
return loc; return loc;
if (outer_code) if (outer_code)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment