Re: [PATCH] Fix normal_inner_ref expansion (PR middle-end/69909)

2016-02-24 Thread Richard Biener
On Tue, 23 Feb 2016, Jakub Jelinek wrote: > Hi! > > When the base of a handled component (BIT_FIELD_REF in the testcase) > is SSA_NAME which happens to be expanded as some MEM (on the testcase > it is SSA_NAME set to VIEW_CONVERT_EXPR of an SSA_NAME that has MEM as > DECL_RTL), expand_expr_real_1

[PATCH] Fix normal_inner_ref expansion (PR middle-end/69909)

2016-02-23 Thread Jakub Jelinek
Hi! When the base of a handled component (BIT_FIELD_REF in the testcase) is SSA_NAME which happens to be expanded as some MEM (on the testcase it is SSA_NAME set to VIEW_CONVERT_EXPR of an SSA_NAME that has MEM as DECL_RTL), expand_expr_real_1 can try to update the MEM attributes from exp, but tha