https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111422
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- There's a missed optimization. We have # PT = { D.2843 } _44 = &g + _43; ... *_44 = 8; g ={v} {CLOBBER(eol)}; ... *_44 = 8; g ={v} {CLOBBER(eol)}; ... *_44 = 8; g ={v} {CLOBBER(eol)}; I guess the clobber doesn't kill the ref according to stmt_kills_ref_p, we'd have to special-case singleton points-to sets here. Optimizing the stores would avoid the bogus sharing of g and n.