https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95137
--- Comment #11 from Iain Sandoe <iains at gcc dot gnu.org> --- perhaps I have some invalid sharing of trees that only causes an issue for ubsan - will try build independent dtor trees for the two cases.