https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58822
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |INVALID --- Comment #28 from Jonathan Wakely <redi at gcc dot gnu.org> --- If you compile it with -fsanitize=undefined then at runtime you get: /usr/include/c++/4.8/ext/new_allocator.h:120:4: runtime error: cast to virtual base of address 0x0000013d1ca0 which does not point to an object of type 'InvalidArgumentException' 0x0000013d1ca0: note: object has invalid vptr 00 00 00 00 00 00 00 00 00 00 00 00 31 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 06 00 00 00 ^~~~~~~~~~~~~~~~~~~~~~~ invalid vptr