Re: [PATCH] Fix expand_assignment ICE with CONCAT target (PR middle-end/85878)

2018-06-15 Thread Eric Botcazou
> 2018-06-15 Jakub Jelinek > > PR middle-end/85878 > * expr.c (expand_assignment): Remove now redundant COMPLEX_MODE_P > check from first store_expr, use to_mode instead of GET_MODE (to_rtx). > Only call store_expr for halves if the mode is the same. > > * gfortra

[PATCH] Fix expand_assignment ICE with CONCAT target (PR middle-end/85878)

2018-06-15 Thread Jakub Jelinek
Hi! The following testcase ICEs, because store_expr is not prepared to handle VCE-like assignments (while store_field can handle that). We already had same mode check for the store_expr when size covers the whole complex to_rtx, this patch adds a similar check when storing just one half of it (fir