[Bug tree-optimization/125411] Atomic stores defeat alias analysis

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 22 17:04:16 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125411

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
I've recently talked with Honza in the context of PGO with atomic counter
updates and we've discussed around eventually optimizing some cases.  But I'm
sceptical we can identify safe cases given the optimization barrier they
currently provide also prevents code motion across them.


More information about the Gcc-bugs mailing list