http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55938
Kostya Serebryany <kcc at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-01-11 Ever Confirmed|0 |1 --- Comment #1 from Kostya Serebryany <kcc at gcc dot gnu.org> 2013-01-11 06:36:44 UTC --- The tests have bugs: gcc/testsuite/g++.dg/asan/deep-stack-uaf-1.C char *x = new char[10]; ... ::free(x); The new asan run-time detects the new/free mismatch and crashes before it detects the expected use-after-free bug. These tests in gcc/testsuite were forked from the upstream variant, which is already fixed. What is surprising is why I don't see these failures on Linux.