https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64170
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-12-03 Target Milestone|--- |5.0 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Reduced testcase with -O2 -fsanitize=address,null : int a, *b, c; void bar (int); void foo (void) { char *d = b; if (d[0] && d[1]) return; if (c) a = *(int *) d; bar (*(int *) d); }