Re: PR 53698: missing address conversion in expand_expr_addr_expr_1

2012-06-18 Thread Richard Guenther
On Mon, Jun 18, 2012 at 11:18 AM, Richard Sandiford wrote: > The result of expand_expr_addr_expr_1 is eventually converted to tmode, > and any variable offset is likewise applied in tmode, so tmode also seems > like the natural mode for applying constant offsets.  This patch makes sure > that the

PR 53698: missing address conversion in expand_expr_addr_expr_1

2012-06-18 Thread Richard Sandiford
The result of expand_expr_addr_expr_1 is eventually converted to tmode, and any variable offset is likewise applied in tmode, so tmode also seems like the natural mode for applying constant offsets. This patch makes sure that the operand is converted to tmode first, just like we do for variable of