https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62140
Yury Gribov <y.gribov at samsung dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |y.gribov at samsung dot com
--- Comment #2 from Yury Gribov <y.gribov at samsung dot com> ---
Created attachment 33337
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33337&action=edit
Short repro
Same on x86_64-unknown-linux-gnu. Memcmp is called with int-typed length
parameter which upsets build of POINTER_PLUS_EXPR which expects 64-bit unsigned
type. I'm attaching a short repro.