https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115877
--- Comment #16 from Jeffrey A. Law <law at gcc dot gnu.org> --- And WRT SUBREG_PROMOTED_P. We already clear it for any pseudo we optimize. See the call to reset_subreg_promoted_p. In general I suspect we're more likely to be incorrectly computing lifetime information somewhere. I was nearly ready to throw away much of Joern's initial rtl iterator based approach and use note_uses/note_stores last year. And I'm even more inclined to do it now.