http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55893
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-08 13:42:30 UTC --- Caused by http://gcc.gnu.org/PR49673 I believe. Perhaps instead of testing whether TYPE_NEEDS_CONSTRUCTING we need to check if the type has non-trivial destructor (is a user destructor on const qualified vars allowed to store into the var anywhere?) or just a special case virtual dtors that do change the vtable pointer?