https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99428
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|tree-optimization |ipa Keywords| |missed-optimization Last reconfirmed| |2021-03-08 CC| |hubicka at gcc dot gnu.org, | |marxin at gcc dot gnu.org Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Version|unknown |11.0 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- IPA - gimple "phase ordering" issue. Alternatively when 'b' is discovered read-only its analysis would need to consider the initializer propagated and thus eventually not address-taken to make 'a' readonly as well ... (or apply modref to tell 'a' is not written to?)