https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89530
--- Comment #10 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- We'd need to add VTA notes to addressable objects, that currently only get older var-tracking treatment. It's usually enough, because, being addressable, they can't really change locations, and, because of pointers and aliasing, VTA proper would be tricky for them. In this case, in which the dead assignments are through a reference to the object proper, rather than through a pointer, it wouldn't be too hard, but VTA is kind of all-or-nothing on a per-object basis. I don't have concrete plans to address this.