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.