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

--- Comment #5 from Daniel Fruzynski <bugzi...@poradnik-webmastera.com> ---
> There is nothing to indicate that the first call to memcpy() in comment #0
> overlaps so -Wrestrict doesn't warn for it.

I thought that fix for bug 83373 will somehow help here. gcc could guess that
memcpy will copy from 1 to 15 bytes, which may overlap destination. In fact
this could help in all cases here except last memcpy.

Reply via email to