[Bug tree-optimization/86741] [9 Regression] ICE in vrp_prop::check_mem_ref building glibc for i686-gnu

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 30 15:59:00 GMT 2018


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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
#4  0x0000000001250010 in vrp_prop::check_mem_ref (this=0x7fffffffced0,
location=102528417, ref=
    <mem_ref 0x7fffefdb38c0>, ignore_off_by_one=false) at
/home/marek/src/gcc/gcc/tree-vrp.c:5097
5097          arrbounds[1] = wi::to_offset (TYPE_SIZE_UNIT (reftype));

here reftype is "const void" so taking its size is wrong.


More information about the Gcc-bugs mailing list