http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55504
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-11-28 Component|sanitizer |testsuite Ever Confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-11-28 01:22:05 UTC --- This is a true testsuite issue: void *x = __builtin_malloc(sizeof(struct mem)); struct mem *as = x; struct foo **upper = &as->x[rank * 8 - 1]; *upper = 0; rank == 0 so upper will point outside of the allocated memory location.