[Bug middle-end/62140] [GCC-4.10.0][ASAN] ICE: : in build2_stat, at tree.c:4265
y.gribov at samsung dot com
gcc-bugzilla@gcc.gnu.org
Fri Aug 15 14:00:00 GMT 2014
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.
More information about the Gcc-bugs
mailing list