http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60667
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 32458 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32458&action=edit gcc49-ubsan.patch Ah, sounds like a very recent regression, most likely Honza's r208831. Now, this patch makes ubsan more robust, so that it handles even stmts with UNKNOWN_LOCATION properly, but the question remains if it is ok to change a call to _ZN3vecIP7mapping7va_heap6vl_ptrE8truncateEj.part.3 (inserted during fnsplit pass and why it doesn't set gimple_location for that call?) into __builtin_unreachable ().