https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86843
--- Comment #4 from Sam James <sjames at gcc dot gnu.org> --- libcxx has started working towards this, see https://discourse.llvm.org/t/rfc-hardening-in-libc/73925 and https://libcxx.llvm.org/Hardening.html.