https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104515
--- Comment #2 from GBE <gcc at rabensky dot com> --- I don't know if it helps - but I used git-bisect to find the original commit that added this issue: cdc184174ce https://github.com/gcc-mirror/gcc/commit/cdc184174ce It indeed has to do with trivial destructors and clobber and lifetime-dse, so that confirms it. It's a fairly small commit - but it's beyond my knowledge of the codebase to understand it. I hope it's helpful!