https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65285
--- Comment #2 from Kostya Serebryany <kcc at gcc dot gnu.org> --- and for gcc: % ~/gcc-inst/bin/g++ -fsanitize=address -static-libasan d.cc && ./a.out 0x00000134f900 is located 0 bytes inside of global variable 'foo' defined in 'd.cc:2:5' (0x134f900) of size 40 %