Yes, it is defined by GCC. It may be a bit crazy, but I'm building libstdc++ with MemorySanitizer, and it is going surprisingly well. http://llvm-reviews.chandlerc.com/D580