gcc/
* lra-eliminations.c (lra_eliminate_regs_1): Use simplify_gen_subreg
rather than gen_rtx_SUBREG.
From-SVN: r192988
+2012-10-30 Richard Sandiford <r.sandiford@uk.ibm.com>
+
+ * lra-eliminations.c (lra_eliminate_regs_1): Use simplify_gen_subreg
+ rather than gen_rtx_SUBREG.
+
2012-10-30 Richard Biener <rguenther@suse.de>
* gimple.h (gimple_store_p): New predicate.
return x;
}
else
- return gen_rtx_SUBREG (GET_MODE (x), new_rtx, SUBREG_BYTE (x));
+ return simplify_gen_subreg (GET_MODE (x), new_rtx,
+ GET_MODE (new_rtx), SUBREG_BYTE (x));
}
return x;