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