[Bug middle-end/98817] Optimize if (a != b) a = b;

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 25 09:37:18 GMT 2021


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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This cannot be done due to race conditions too:
https://gcc.gnu.org/wiki/Atomic/GCCMM/DataRaces


More information about the Gcc-bugs mailing list