https://bugs.documentfoundation.org/show_bug.cgi?id=117644

--- Comment #2 from Stephan Bergmann <[email protected]> ---
Came across that with a fresh GCC trunk (towards GCC 9) build now, too.  Looks
like a legitimate warning to me, as it appears that cnt - 1 == i can be true. 
However, with a patch of "if (cnt - 1 != i)" around that memcpy, GCC still
emits the warning, for which I now filed
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86196> "Bogus -Wrestrict on
memcpy".

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to