https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66514
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Martin Liška from comment #3) > Ok, after reading your caution and test-cases mentioned in the ASAN tracker, > I think emitting a poison memory call in a dtor for instances that does not > use placement new can be beneficial. However, I can't evaluate if getting > such kind of information in doable in GCC? We could certainly emit the poison call where we currently have the clobber.