https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63245
--- Comment #2 from Alexey Samsonov <samsonov at google dot com> --- This is also reported as http://llvm.org/bugs/show_bug.cgi?id=20721 I've mailed a patch that should at least fix the crashes: http://reviews.llvm.org/D5253. I agree that UBSan can do better, and actually adjust the memory range it's going to print if some of it is unaccessible.