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

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 21 19:54:32 GMT 2026


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

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2026-05-21
           Severity|normal                      |enhancement
     Ever confirmed|0                           |1

--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
It is not exactly a dup but very much closely related.

GCC does NOT optimize almost at all atomics.

I am not sure if we will ever do it but maybe one day.


More information about the Gcc-bugs mailing list