https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70147
--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Volker Reichelt from comment #8) > This is a regression that was introduced between the 20160228 snapshot and > the 20160306 snapshot. Yeah, it was introduced by Jakub's patch: commit e968ff6d2edad40dcc7508d413d05b71a010e2ce Author: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri Mar 4 22:10:49 2016 +0000 PR c++/70035 * cp-tree.h (cp_ubsan_maybe_initialize_vtbl_ptrs): New prototype. * decl.c (start_preparsed_function): Call cp_ubsan_maybe_initialize_vtbl_ptrs if needed. * cp-ubsan.c (cp_ubsan_dfs_initialize_vtbl_ptrs, cp_ubsan_maybe_initialize_vtbl_ptrs): New functions. * g++.dg/ubsan/pr70035.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233984 138bc75d-0d04-0410-961f-82ee72b054a4 Martin