On 09/18/2016 02:51 PM, Jan Hubicka wrote:
to_rtx = expand_expr (tem, NULL_RTX, VOIDmode, EXPAND_WRITE); - - /* If the field has a mode, we want to access it in the - field's mode, not the computed mode. - If a MEM has VOIDmode (external with incomplete type), - use BLKmode for it instead. */ - if (MEM_P (to_rtx)) - { - if (mode1 != VOIDmode) - to_rtx = adjust_address (to_rtx, mode1, 0); - else if (GET_MODE (to_rtx) == VOIDmode) - to_rtx = adjust_address (to_rtx, BLKmode, 0); - } if (offset != 0) {
This was added by Jakub in r166603, referencing PR46388. Have you looked at that?
Bernd