https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118908
Xi Ruoyao <xry111 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
CC| |xry111 at gcc dot gnu.org
--- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
Not a bug, nor a "broken feature." For implementing C++20 <memory> needs to
include more other headers than implementing C++17, thus <cstdint> happens to
be included. For building with the thread sanitizer <memory> has to use
sanitizer/tsan_interface.h, and the latter happens to include <cstdint>.
It's just some coincidence and you cannot rely on a coincidence.