https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285

--- Comment #17 from qinzhao at gcc dot gnu.org ---

> > OK, so the issue is likely that we're probing the lhs with EXPAND_WRITE but
> > when we expand the memset we end up with using expand_expr_addr_expr_1
> > with EXPAND_NORMAL. 
> 
> then can we change the probing to use EXPAND_NORMAL?

I tried to change EXPAND_WRITE to EXPAND_NORMAL when probing the lhs, the
exactly the same issue as before.

Reply via email to