https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105453
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|wrong choice of source in |load introduced by ce1 for |load instruction |conditional loads at -O1, | |might cause issues with the | |C/C++ memory model --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The problem shows up in ce1. Someone who is more in tune with the C/C++ memory model should figure out if adding an extra load here is valid or not. I think it is valid still since there is no load barrier used.