> The patch makes sure that the src_mem computed here in
> expand_builtin_memcpy is marked as MEM_READONLY_P:
> ...
>       src_mem = get_memory_rtx (src, len);
> ...
>
> build and reg-tested on i686, arm, and mips.
>
> OK for trunk?

Do you get the same result by calling gen_const_mem from build_constant_desc 
instead of gen_rtx_MEM?  If so, this would be better I think.

-- 
Eric Botcazou

Reply via email to