https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453
--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:37fec1c1b0c942d861dd51b31d099084826a485b commit r10-10378-g37fec1c1b0c942d861dd51b31d099084826a485b Author: Jonathan Wakely <jwak...@redhat.com> Date: Tue Nov 30 13:14:38 2021 +0000 libstdc++: Make Asan detection work for Clang [PR103453] Clang doesn't define __SANITIZE_ADDRESS__ so use its __has_feature check to detect Asan instead. libstdc++-v3/ChangeLog: PR libstdc++/103453 * config/allocator/malloc_allocator_base.h (_GLIBCXX_SANITIZE_STD_ALLOCATOR): Define for Clang. * config/allocator/new_allocator_base.h (_GLIBCXX_SANITIZE_STD_ALLOCATOR): Likewise. (cherry picked from commit cca6090b13ab503bef1cfa327e2d107789d6bd30)